Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.8 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01932/0.01932, allocations: 2.98 MB / 305.7 MB, free: 6.773 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 71.88 kB / 425.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1461, allocations: 53.07 MB / 479 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.004194/0.1503, allocations: 1.508 MB / 480.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.153, allocations: 1.272 MB / 481.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.1531, allocations: 8 kB / 481.7 MB, free: 13.44 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:141:3-163:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1533, allocations: 35.78 kB / 481.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.1534, allocations: 27.84 kB / 481.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1536, allocations: 75.8 kB / 481.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.509e-05/0.1537, allocations: 59.83 kB / 481.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.382e-05/0.1538, allocations: 8 kB / 482 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.1538, allocations: 23.92 kB / 482 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1539, allocations: 27.84 kB / 482 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1539, allocations: 4 kB / 482 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1541, allocations: 103.8 kB / 482.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1541, allocations: 8 kB / 482.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1542, allocations: 23.86 kB / 482.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1544, allocations: 115.7 kB / 482.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1544, allocations: 4 kB / 482.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1544, allocations: 0 / 482.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1544, allocations: 0 / 482.3 MB, free: 12.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004269/0.1548, allocations: 392.8 kB / 482.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.1548, allocations: 19.83 kB / 482.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1549, allocations: 12.89 kB / 482.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1551, allocations: 180.3 kB / 482.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1551, allocations: 8.375 kB / 482.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.1551, allocations: 384 / 482.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1552, allocations: 65.98 kB / 482.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1553, allocations: 0 / 482.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1553, allocations: 3.938 kB / 482.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.1553, allocations: 0 / 482.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.1553, allocations: 31.92 kB / 483 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1555, allocations: 177.5 kB / 483.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.1556, allocations: 42.64 kB / 483.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1557, allocations: 36.97 kB / 483.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1557, allocations: 3.984 kB / 483.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1559, allocations: 113 kB / 483.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1559, allocations: 0 / 483.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003491/0.1562, allocations: 191.3 kB / 483.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1563, allocations: 81.11 kB / 483.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.1564, allocations: 121.8 kB / 483.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1564, allocations: 25.7 kB / 483.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.1564, allocations: 88.12 kB / 483.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1565, allocations: 19.84 kB / 483.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1565, allocations: 21.72 kB / 483.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1566, allocations: 318.8 kB / 484.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.1567, allocations: 31.98 kB / 484.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.1567, allocations: 27.98 kB / 484.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1569, allocations: 120.7 kB / 484.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1569, allocations: 0 / 484.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002267/0.1571, allocations: 167.1 kB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.1571, allocations: 41.69 kB / 484.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.1571, allocations: 0 / 484.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1572, allocations: 0 / 484.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.1572, allocations: 7.938 kB / 484.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1572, allocations: 0 / 484.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.1573, allocations: 8 kB / 484.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1573, allocations: 0 / 484.6 MB, free: 10.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.1574, allocations: 155.5 kB / 484.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1574, allocations: 15.89 kB / 484.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.1574, allocations: 16.3 kB / 484.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1574, allocations: 0 / 484.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1574, allocations: 0 / 484.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1575, allocations: 4 kB / 484.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1576, allocations: 181.6 kB / 484.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1576, allocations: 7.984 kB / 484.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1576, allocations: 7.938 kB / 484.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1576, allocations: 0 / 484.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1577, allocations: 8 kB / 485 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1577, allocations: 0 / 485 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1577, allocations: 240 / 485 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1579, allocations: 210.7 kB / 485.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.158, allocations: 85 kB / 485.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.158, allocations: 8 kB / 485.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.1581, allocations: 7.984 kB / 485.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.1581, allocations: 4 kB / 485.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1581, allocations: 4 kB / 485.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.1582, allocations: 95.27 kB / 485.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1582, allocations: 0 / 485.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1584, allocations: 43.88 kB / 485.4 MB, free: 9.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008761/0.1593, allocations: 256.7 kB / 485.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1595, allocations: 139.4 kB / 485.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1595, allocations: 7.938 kB / 485.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1596, allocations: 95.38 kB / 485.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.1598, allocations: 4 kB / 485.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.1601, allocations: 193.4 kB / 486.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1605, allocations: 0.6922 MB / 486.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.1605, allocations: 7.984 kB / 486.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1605, allocations: 15.44 kB / 486.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1605, allocations: 0 / 486.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Templates: time 0.004264/0.1648, allocations: 1.457 MB / 488.3 MB, free: 6.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.796346756629646]