Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",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.002321/0.002327, 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.104/2.104, 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.001194/0.001194, allocations: 101.4 kB / 270.9 MB, free: 8.363 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.5247/0.5247, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005295, allocations: 20 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1413, allocations: 58.85 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002804/0.1441, allocations: 1.386 MB / 491.7 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.146, allocations: 0.7267 MB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1462, allocations: 7.938 kB / 492.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1465, allocations: 27.84 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1468, allocations: 43.88 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.1472, allocations: 79.77 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1474, allocations: 59.86 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1475, allocations: 8.219 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1477, allocations: 39.83 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.1478, allocations: 31.86 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1478, allocations: 0 / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1479, allocations: 27.94 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.148, allocations: 15.91 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.1481, allocations: 33.7 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1483, allocations: 88.05 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1483, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1483, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1483, allocations: 0 / 492.9 MB, free: 8.52 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.0006942/0.149, allocations: 410.7 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.1491, allocations: 8.031 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.1492, allocations: 30.56 kB / 493.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1492, allocations: 7.906 kB / 493.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1495, allocations: 206.9 kB / 493.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1496, allocations: 4 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1496, allocations: 0 / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1498, allocations: 57.61 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1499, allocations: 3.984 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1499, allocations: 3.953 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1499, allocations: 8 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.15, allocations: 15.98 kB / 493.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1506, allocations: 277 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1509, allocations: 58.62 kB / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1509, allocations: 3.984 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.1512, allocations: 75.47 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.156e-06/0.1512, allocations: 0 / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008002/0.152, allocations: 165.2 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1521, allocations: 59.39 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1523, allocations: 166.2 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1524, allocations: 25.7 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.1525, allocations: 166.6 kB / 494.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.1526, allocations: 31.62 kB / 494.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.1526, allocations: 4 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1527, allocations: 310.8 kB / 494.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.1528, allocations: 23.98 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.153, allocations: 37.64 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.1531, allocations: 20 kB / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1531, allocations: 4 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003034/0.1534, allocations: 93.64 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1534, allocations: 4 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1535, allocations: 3.938 kB / 495.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1535, allocations: 7.922 kB / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1536, allocations: 16.38 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1537, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.1538, allocations: 8 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1538, allocations: 192 / 495.2 MB, free: 6.016 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.0001543/0.154, allocations: 133.8 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.154, allocations: 23.7 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.1541, allocations: 16.7 kB / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1541, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1541, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1542, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.1548, allocations: 387.3 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1549, allocations: 4.031 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.1549, allocations: 15.94 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.155, allocations: 4 kB / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.155, allocations: 0 / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.155, allocations: 0 / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.155, allocations: 0 / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1554, allocations: 218 kB / 495.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.1555, allocations: 88.92 kB / 496 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1555, allocations: 4 kB / 496 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1556, allocations: 7.984 kB / 496 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.1557, allocations: 7.984 kB / 496 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1557, allocations: 4 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1559, allocations: 139.9 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.396e-06/0.156, allocations: 0 / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.1563, allocations: 23.94 kB / 496.2 MB, free: 4.852 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.002043/0.1584, allocations: 1.175 MB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1588, allocations: 55.92 kB / 497.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1588, allocations: 0 / 497.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1589, allocations: 31.86 kB / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1593, allocations: 27.92 kB / 497.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1611, allocations: 0.8556 MB / 498.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1615, allocations: 0.7079 MB / 499.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1617, allocations: 35.42 kB / 499.1 MB, free: 1.898 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1617, allocations: 0 / 499.1 MB, free: 1.898 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.105/3.266, allocations: 2.353 MB / 0.4897 GB, free: 42.43 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat