Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001663, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 93.48 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5744/0.5744, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.0006561, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1467, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002713/0.1495, allocations: 1.39 MB / 491.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1513, allocations: 0.7383 MB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.1514, allocations: 3.938 kB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1518, allocations: 31.84 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.152, allocations: 31.89 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1524, allocations: 75.78 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1526, allocations: 63.84 kB / 492.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.1527, allocations: 16.22 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1528, allocations: 39.84 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1529, allocations: 19.86 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.153, allocations: 4 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1531, allocations: 27.92 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1532, allocations: 23.91 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1532, allocations: 37.64 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1534, allocations: 80.11 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1535, allocations: 4 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1535, allocations: 0 / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1535, allocations: 0 / 492.9 MB, free: 8.523 MB / 378.7 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.0006602/0.1542, allocations: 406.8 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1542, allocations: 8.031 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1543, allocations: 38.56 kB / 493.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1543, allocations: 7.906 kB / 493.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1546, allocations: 202.8 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1547, allocations: 8 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1547, allocations: 8 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1549, allocations: 53.61 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1549, allocations: 4 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.155, allocations: 7.953 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.155, allocations: 0 / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1551, allocations: 15.98 kB / 493.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.1556, allocations: 284.9 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1559, allocations: 58.61 kB / 494 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1559, allocations: 4.125 kB / 494 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.1562, allocations: 67.34 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1562, allocations: 0 / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007719/0.157, allocations: 181.1 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.157, allocations: 55.41 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1573, allocations: 186.2 kB / 494.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1574, allocations: 25.7 kB / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.1575, allocations: 158.6 kB / 494.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.1575, allocations: 23.66 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.1575, allocations: 4 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1577, allocations: 318.8 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.1578, allocations: 16 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1579, allocations: 45.64 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/0.158, allocations: 23.98 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1581, allocations: 0 / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00028/0.1583, allocations: 97.59 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1584, allocations: 8 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1584, allocations: 80 / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1584, allocations: 0 / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1586, allocations: 16.02 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1586, allocations: 7.984 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.1587, allocations: 4 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1587, allocations: 4 kB / 495.2 MB, free: 5.988 MB / 378.7 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.0001495/0.1589, allocations: 129.8 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.1589, allocations: 15.77 kB / 495.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.159, allocations: 20.7 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.159, allocations: 0 / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.159, allocations: 0 / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.159, allocations: 7.984 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.1597, allocations: 395.3 kB / 495.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1597, allocations: 384 / 495.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.1598, allocations: 11.94 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1598, allocations: 0 / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1598, allocations: 4 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1599, allocations: 4 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1599, allocations: 0 / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1602, allocations: 222 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1603, allocations: 84.92 kB / 496.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1604, allocations: 8 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1605, allocations: 4.188 kB / 496.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1605, allocations: 3.984 kB / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1606, allocations: 15.88 kB / 496.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1608, allocations: 144 kB / 496.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1608, allocations: 0 / 496.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.1612, allocations: 24 kB / 496.3 MB, free: 4.809 MB / 378.7 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.002033/0.1632, allocations: 1.171 MB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1636, allocations: 55.92 kB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1636, allocations: 4.062 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1637, allocations: 32.08 kB / 497.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1641, allocations: 24.12 kB / 497.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1659, allocations: 0.8723 MB / 498.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1663, allocations: 0.716 MB / 499.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.1664, allocations: 35.42 kB / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1664, allocations: 0 / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.487/3.653, allocations: 2.396 MB / 0.4898 GB, free: 42.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat