Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008103, allocations: 95.77 kB / 15.7 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 174.3 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3907/0.3907, allocations: 43.55 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005854, allocations: 12 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002232/0.1375, allocations: 1.398 MB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1388, allocations: 0.7344 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.1389, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.1393, allocations: 83.81 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1395, allocations: 59.8 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1398, allocations: 75.8 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.14, allocations: 95.67 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1401, allocations: 20.19 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1402, allocations: 43.78 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1403, allocations: 51.81 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1403, allocations: 4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1404, allocations: 35.98 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.1405, allocations: 19.92 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.1406, allocations: 41.62 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1408, allocations: 88.09 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1408, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1408, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1408, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007047/0.1415, allocations: 418.8 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1416, allocations: 8.031 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.1417, allocations: 38.5 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1417, allocations: 15.75 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.142, allocations: 203.6 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.142, allocations: 0 / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1421, allocations: 4 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1422, allocations: 53.67 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1423, allocations: 0 / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1423, allocations: 7.953 kB / 446.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1423, allocations: 0 / 446.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.1424, allocations: 23.92 kB / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.1429, allocations: 284.9 kB / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1431, allocations: 58.67 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.1432, allocations: 20.86 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.1432, allocations: 4 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.1435, allocations: 75.27 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1435, allocations: 0 / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006027/0.1441, allocations: 173.1 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1442, allocations: 55.41 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1444, allocations: 222.3 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1444, allocations: 25.7 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.1445, allocations: 104.1 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1445, allocations: 23.66 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1445, allocations: 0 / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1447, allocations: 330.8 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.1448, allocations: 16 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1449, allocations: 33.7 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.1449, allocations: 24 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1449, allocations: 0 / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1451, allocations: 117.4 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1452, allocations: 7.938 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1452, allocations: 0 / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1452, allocations: 4 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.1453, allocations: 15.98 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1453, allocations: 0 / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.1454, allocations: 8.031 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1454, allocations: 7.938 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1455, allocations: 129.8 kB / 448.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1456, allocations: 16.05 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.1456, allocations: 13.41 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1456, allocations: 3.938 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1456, allocations: 0 / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1457, allocations: 7.984 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1461, allocations: 399.3 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1461, allocations: 4 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.1461, allocations: 12 kB / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1462, allocations: 0 / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1462, allocations: 0 / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1462, allocations: 3.984 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1462, allocations: 4 kB / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1464, allocations: 212.1 kB / 448.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1465, allocations: 88.92 kB / 448.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1465, allocations: 0 / 448.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.1466, allocations: 7.984 kB / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1466, allocations: 8 kB / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1466, allocations: 0 / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1468, allocations: 160.2 kB / 449 MB, free: 6.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1468, allocations: 4 kB / 449 MB, free: 6.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1471, allocations: 24 kB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.1485, allocations: 1.094 MB / 450.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1486, allocations: 59.91 kB / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1487, allocations: 0 / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.1487, allocations: 27.98 kB / 450.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.149, allocations: 28.05 kB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1503, allocations: 0.7633 MB / 451 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1506, allocations: 0.7121 MB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.1507, allocations: 16.81 kB / 451.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.1508, allocations: 39.41 kB / 451.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1508, allocations: 4 kB / 451.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1652, allocations: 3.024 MB / 454.8 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1655, allocations: 217.5 kB / 455 MB, free: 364 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.92, allocations: 0 / 455 MB, free: 364 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat