Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.0007451/0.0007451, allocations: 97.41 kB / 15.7 MB, free: 468 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.0007587/0.0007586, allocations: 170.2 kB / 16.57 MB, free: 5.652 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.362/1.362, allocations: 205.4 MB / 222.7 MB, free: 5.621 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.3483/0.3483, allocations: 43.55 MB / 314.6 MB, free: 9.039 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.0005283/0.0005283, allocations: 12 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002117/0.1242, allocations: 1.527 MB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1256, allocations: 0.8358 MB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1257, allocations: 0 / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.1261, allocations: 207.6 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1264, allocations: 151.5 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1268, allocations: 131.8 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.127, allocations: 191.4 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1271, allocations: 17.55 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1273, allocations: 111.5 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1275, allocations: 115.6 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1275, allocations: 11.94 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.1276, allocations: 36 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1277, allocations: 51.77 kB / 446.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1278, allocations: 61.55 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.128, allocations: 152 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.128, allocations: 4 kB / 446.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.128, allocations: 0 / 446.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.128, allocations: 0 / 446.5 MB, free: 9.566 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007295/0.1287, allocations: 0.5136 MB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1288, allocations: 12.03 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.1288, allocations: 38.5 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.1289, allocations: 35.56 kB / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.1293, allocations: 263.1 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1293, allocations: 4 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1293, allocations: 4 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1296, allocations: 91.36 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1296, allocations: 4 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.1296, allocations: 15.94 kB / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1296, allocations: 3.938 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1297, allocations: 31.98 kB / 447.5 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1303, allocations: 437.1 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1306, allocations: 121.3 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.1307, allocations: 45.66 kB / 448.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1307, allocations: 3.984 kB / 448.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.131, allocations: 120.9 kB / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.131, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008461/0.1318, allocations: 363.9 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1319, allocations: 81.11 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.1323, allocations: 428.4 kB / 449 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1324, allocations: 29.7 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1325, allocations: 152.4 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.1326, allocations: 55.28 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.1326, allocations: 4 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1327, allocations: 342.8 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.1328, allocations: 43.94 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.133, allocations: 71.41 kB / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1331, allocations: 47.94 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1331, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003241/0.1334, allocations: 181.4 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1335, allocations: 4 kB / 449.9 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1335, allocations: 4 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1335, allocations: 0 / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1336, allocations: 39.98 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1336, allocations: 0 / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.1337, allocations: 16.64 kB / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1338, allocations: 8 kB / 450 MB, free: 5.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001573/0.1339, allocations: 165.8 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.134, allocations: 27.72 kB / 450.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.134, allocations: 30.62 kB / 450.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.134, allocations: 4 kB / 450.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1341, allocations: 7.938 kB / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1341, allocations: 0 / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.1348, allocations: 0.6241 MB / 450.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1348, allocations: 3.984 kB / 450.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1349, allocations: 23.92 kB / 450.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1349, allocations: 4.062 kB / 450.9 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1349, allocations: 8 kB / 450.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1349, allocations: 7.938 kB / 450.9 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1349, allocations: 3.953 kB / 450.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.1353, allocations: 368 kB / 451.3 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1354, allocations: 108.8 kB / 451.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.1355, allocations: 4 kB / 451.4 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1356, allocations: 11.98 kB / 451.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1357, allocations: 15.94 kB / 451.4 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1357, allocations: 4 kB / 451.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.136, allocations: 319 kB / 451.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.136, allocations: 0 / 451.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1364, allocations: 47.98 kB / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001616/0.138, allocations: 1.25 MB / 453 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1383, allocations: 116 kB / 453.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1383, allocations: 0 / 453.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1384, allocations: 56.11 kB / 453.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1389, allocations: 64.94 kB / 453.3 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.1411, allocations: 1.496 MB / 454.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1415, allocations: 0.7674 MB / 455.5 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.1416, allocations: 30.39 kB / 455.5 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2062/0.3478, allocations: 76.59 kB / 455.6 MB, free: 45.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.505e-06/0.3478, allocations: 0 / 455.6 MB, free: 45.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.3637, allocations: 5.162 MB / 460.8 MB, free: 45.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.3639, allocations: 218.3 kB / 461 MB, free: 45.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.087, allocations: 1.625 kB / 461 MB, free: 45.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat