Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.000792/0.0007918, allocations: 96.94 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.001067/0.001067, allocations: 172.4 kB / 16.58 MB, free: 5.68 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.472/1.472, allocations: 205.4 MB / 222.7 MB, free: 5.844 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.3751/0.3751, allocations: 43.55 MB / 314.6 MB, free: 8.945 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.0005432/0.0005433, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002091/0.1307, allocations: 1.395 MB / 444.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1319, allocations: 0.7422 MB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.132, allocations: 3.938 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1323, allocations: 31.89 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1325, allocations: 43.84 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1328, allocations: 75.83 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.133, allocations: 83.7 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.1331, allocations: 8.219 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.1332, allocations: 39.78 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1333, allocations: 31.84 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1333, allocations: 4 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1334, allocations: 35.98 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.1335, allocations: 19.92 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.1335, allocations: 37.64 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1337, allocations: 84.09 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1337, allocations: 4 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1337, allocations: 0 / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1337, allocations: 0 / 445.5 MB, free: 10.55 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.0005421/0.1343, allocations: 398.8 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1343, allocations: 8.031 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.1344, allocations: 46.55 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1344, allocations: 7.906 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1347, allocations: 206.8 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1347, allocations: 3.984 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1347, allocations: 4 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1349, allocations: 57.67 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1349, allocations: 0 / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1349, allocations: 3.953 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1349, allocations: 0 / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.135, allocations: 23.98 kB / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.1355, allocations: 280.9 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1357, allocations: 62.56 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.1358, allocations: 20.84 kB / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1358, allocations: 0 / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.136, allocations: 75.34 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.136, allocations: 0 / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005125/0.1365, allocations: 169.2 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1366, allocations: 55.41 kB / 446.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1367, allocations: 186.2 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1368, allocations: 25.7 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.1368, allocations: 104.1 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1368, allocations: 23.7 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1369, allocations: 4 kB / 447.2 MB, free: 8.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.137, allocations: 326.8 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.137, allocations: 23.98 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.1371, allocations: 33.7 kB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.1372, allocations: 20 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1372, allocations: 4 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.1373, allocations: 113.4 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1374, allocations: 4 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1374, allocations: 0 / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1374, allocations: 0 / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.1375, allocations: 16 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1375, allocations: 0 / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1375, allocations: 11.98 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1376, allocations: 0 / 447.8 MB, free: 8.039 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 9.495e-05/0.1377, allocations: 133.8 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1377, allocations: 19.77 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1377, allocations: 16.7 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1377, allocations: 0 / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1378, allocations: 0 / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1378, allocations: 4 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.1382, allocations: 387.3 kB / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1382, allocations: 4.031 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.1382, allocations: 8 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1382, allocations: 3.984 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1382, allocations: 8 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1382, allocations: 192 / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1383, allocations: 0 / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1385, allocations: 204.4 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1385, allocations: 96.92 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1386, allocations: 7.922 kB / 448.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1386, allocations: 4.375 kB / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1387, allocations: 8 kB / 448.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1387, allocations: 7.984 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1388, allocations: 140.1 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1388, allocations: 0 / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1391, allocations: 23.98 kB / 448.8 MB, free: 6.883 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.001345/0.1404, allocations: 1.102 MB / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1406, allocations: 55.97 kB / 450 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1406, allocations: 0 / 450 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1407, allocations: 27.94 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.141, allocations: 27.97 kB / 450.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1421, allocations: 0.7002 MB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1424, allocations: 0.7083 MB / 451.5 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1425, allocations: 17.17 kB / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1425, allocations: 31.42 kB / 451.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1425, allocations: 0 / 451.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.1563, allocations: 2.926 MB / 454.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.1566, allocations: 213.5 kB / 454.6 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.897, allocations: 0 / 454.6 MB, free: 0.9844 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat