Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",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.001595/0.0016, allocations: 183.3 kB / 16.4 MB, free: 5.754 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.182/2.182, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001237/0.001236, allocations: 88.42 kB / 270.9 MB, free: 8.359 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.554/0.554, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 12 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, allocations: 58.84 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002798/0.1461, allocations: 1.386 MB / 491.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.148, allocations: 0.7384 MB / 492.4 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1481, allocations: 0 / 492.4 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1485, allocations: 31.84 kB / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1488, allocations: 47.81 kB / 492.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1492, allocations: 71.83 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1494, allocations: 55.88 kB / 492.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1495, allocations: 20.2 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1496, allocations: 43.78 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.1497, allocations: 19.91 kB / 492.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1497, allocations: 4 kB / 492.7 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1499, allocations: 31.88 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1499, allocations: 11.98 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.15, allocations: 37.64 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1502, allocations: 92.08 kB / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1502, allocations: 0 / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1503, allocations: 0 / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1503, allocations: 0 / 492.9 MB, free: 8.27 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.000667/0.1509, allocations: 406.7 kB / 493.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.151, allocations: 11.97 kB / 493.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.1511, allocations: 38.56 kB / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.1511, allocations: 7.906 kB / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1515, allocations: 202.8 kB / 493.5 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1515, allocations: 4 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1515, allocations: 4 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1517, allocations: 53.67 kB / 493.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1518, allocations: 4 kB / 493.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1518, allocations: 3.953 kB / 493.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1518, allocations: 0 / 493.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1519, allocations: 23.92 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.1525, allocations: 284.8 kB / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1527, allocations: 58.67 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1528, allocations: 4 kB / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.153, allocations: 75.41 kB / 494.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.1531, allocations: 0 / 494.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007962/0.1539, allocations: 169.2 kB / 494.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1539, allocations: 55.41 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.1542, allocations: 182.2 kB / 494.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1542, allocations: 29.7 kB / 494.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.1543, allocations: 162.6 kB / 494.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1544, allocations: 23.64 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.1544, allocations: 8 kB / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1546, allocations: 310.8 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1547, allocations: 23.98 kB / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1548, allocations: 33.7 kB / 495 MB, free: 5.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1549, allocations: 24 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1549, allocations: 0 / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003024/0.1552, allocations: 97.56 kB / 495.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1553, allocations: 8 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1553, allocations: 3.938 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1553, allocations: 3.984 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1555, allocations: 19.94 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1555, allocations: 0 / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.1556, allocations: 0 / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1556, allocations: 8.031 kB / 495.2 MB, free: 5.742 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.000164/0.1558, allocations: 137.8 kB / 495.3 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1558, allocations: 19.77 kB / 495.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.1559, allocations: 20.64 kB / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1559, allocations: 0 / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1559, allocations: 0 / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.156, allocations: 0 / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.1567, allocations: 399.3 kB / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1567, allocations: 0 / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.1568, allocations: 8 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1568, allocations: 0 / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1569, allocations: 7.984 kB / 495.8 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1569, allocations: 0 / 495.8 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1569, allocations: 0 / 495.8 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1572, allocations: 217.9 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.1573, allocations: 88.92 kB / 496.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1574, allocations: 7.984 kB / 496.1 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1575, allocations: 4.375 kB / 496.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1576, allocations: 4 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.1576, allocations: 11.98 kB / 496.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1578, allocations: 144.1 kB / 496.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1578, allocations: 4 kB / 496.2 MB, free: 4.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.1582, allocations: 19.98 kB / 496.3 MB, free: 4.566 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.002074/0.1603, allocations: 1.179 MB / 497.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1606, allocations: 63.89 kB / 497.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1607, allocations: 0 / 497.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1608, allocations: 20 kB / 497.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1612, allocations: 32.03 kB / 497.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1631, allocations: 0.8761 MB / 498.4 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1635, allocations: 0.7081 MB / 499.1 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1636, allocations: 35.42 kB / 499.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1636, allocations: 0 / 499.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.995/3.158, allocations: 2.395 MB / 0.4898 GB, free: 42.01 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat