Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 87.8 kB / 0.4918 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1204, allocations: 66.04 MB / 0.5563 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003811/0.1242, allocations: 2.295 MB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1265, allocations: 1.327 MB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1266, allocations: 7.938 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.127, allocations: 143.2 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.1275, allocations: 254.9 kB / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1279, allocations: 187.5 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.1285, allocations: 466.6 kB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1287, allocations: 49.05 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.1291, allocations: 346.9 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1293, allocations: 175 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.1293, allocations: 16 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1295, allocations: 75.97 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1297, allocations: 151.4 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.1298, allocations: 206.3 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.1304, allocations: 489.4 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1304, allocations: 0 / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1304, allocations: 0 / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1304, allocations: 0 / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00133/0.1318, allocations: 0.921 MB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1318, allocations: 12.03 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.695e-05/0.1318, allocations: 8.188 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.1319, allocations: 46.73 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.132, allocations: 72.47 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.1326, allocations: 440.9 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1326, allocations: 12.38 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.1326, allocations: 20.31 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.133, allocations: 200.9 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.133, allocations: 0 / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.1331, allocations: 11.98 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1331, allocations: 7.984 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1333, allocations: 87.88 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.1343, allocations: 0.8289 MB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.135, allocations: 238.5 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1351, allocations: 79.52 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1352, allocations: 8.219 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/0.1356, allocations: 208.2 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.1356, allocations: 0 / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002643/0.1382, allocations: 1.21 MB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1383, allocations: 140.5 kB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1395, allocations: 0.9536 MB / 0.5676 GB, free: 9.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.1395, allocations: 37.7 kB / 0.5676 GB, free: 9.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.1397, allocations: 269 kB / 0.5679 GB, free: 9.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1398, allocations: 150.8 kB / 0.568 GB, free: 9.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.14, allocations: 74.09 kB / 0.5681 GB, free: 8.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1401, allocations: 329.9 kB / 0.5684 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1403, allocations: 112.8 kB / 0.5685 GB, free: 8.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.1406, allocations: 187.2 kB / 0.5687 GB, free: 8.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.1412, allocations: 318.7 kB / 0.569 GB, free: 7.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1412, allocations: 4 kB / 0.569 GB, free: 7.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000765/0.142, allocations: 444.9 kB / 0.5694 GB, free: 7.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.142, allocations: 4 kB / 0.5694 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.142, allocations: 4 kB / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.142, allocations: 4 kB / 0.5694 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1423, allocations: 91.83 kB / 0.5695 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1423, allocations: 4 kB / 0.5695 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1424, allocations: 20.06 kB / 0.5695 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1425, allocations: 19.98 kB / 0.5696 GB, free: 7.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0003002/0.1428, allocations: 252 kB / 0.5698 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1429, allocations: 79.42 kB / 0.5699 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.143, allocations: 93.73 kB / 0.57 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.143, allocations: 4 kB / 0.57 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.143, allocations: 0 / 0.57 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.143, allocations: 7.938 kB / 0.57 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.1448, allocations: 1.342 MB / 0.5713 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1448, allocations: 4 kB / 0.5713 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.145, allocations: 63.89 kB / 0.5714 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.145, allocations: 4 kB / 0.5714 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.145, allocations: 19.98 kB / 0.5714 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.145, allocations: 7.938 kB / 0.5714 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.145, allocations: 7.938 kB / 0.5714 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.1459, allocations: 0.7969 MB / 0.5722 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.1461, allocations: 188.5 kB / 0.5724 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.1462, allocations: 12 kB / 0.5724 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.1464, allocations: 19.98 kB / 0.5724 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.1465, allocations: 39.89 kB / 0.5724 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.1466, allocations: 24 kB / 0.5724 GB, free: 4.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007606/0.1473, allocations: 0.7059 MB / 0.5731 GB, free: 3.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1473, allocations: 0 / 0.5731 GB, free: 3.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.1478, allocations: 91.92 kB / 0.5732 GB, free: 3.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003013/0.1509, allocations: 1.753 MB / 0.5749 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.1514, allocations: 299.5 kB / 0.5752 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1515, allocations: 4 kB / 0.5752 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1517, allocations: 151.9 kB / 0.5754 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.1526, allocations: 127.8 kB / 0.5755 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.1589, allocations: 5.142 MB / 0.5805 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.1595, allocations: 0.9094 MB / 0.5814 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.1597, allocations: 83.3 kB / 0.5815 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.16, allocations: 215.3 kB / 0.5817 GB, free: 10.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.16, allocations: 0 / 0.5817 GB, free: 10.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/0.4223, allocations: 11.6 MB / 0.593 GB, free: 33.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.965/9.387, allocations: 4.469 kB / 0.593 GB, free: 33.77 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.275086534034926] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.567240127013065 9.581616909 9.448347673 Calling exit ...