Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",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.002437/0.002443, allocations: 182.5 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.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001206/0.001207, allocations: 93.5 kB / 270.9 MB, free: 8.355 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.6134/0.6134, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 19.98 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.85 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002718/0.1451, allocations: 1.386 MB / 491.7 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.147, allocations: 0.7305 MB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.1471, allocations: 7.938 kB / 492.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1474, allocations: 31.84 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.1476, allocations: 39.88 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.148, allocations: 79.78 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1482, allocations: 63.84 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.1483, allocations: 8.219 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1485, allocations: 39.84 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.1486, allocations: 27.86 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1486, allocations: 0 / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1487, allocations: 31.92 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1488, allocations: 23.91 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.1489, allocations: 33.7 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1491, allocations: 80.05 kB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1491, allocations: 0 / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1491, allocations: 0 / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1491, allocations: 0 / 492.9 MB, free: 8.512 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.0006751/0.1498, allocations: 402.8 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1499, allocations: 8.031 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.1499, allocations: 34.56 kB / 493.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.15, allocations: 7.906 kB / 493.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1503, allocations: 202.9 kB / 493.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1503, allocations: 4 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1504, allocations: 0 / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1506, allocations: 57.61 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1506, allocations: 0 / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1506, allocations: 3.953 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1507, allocations: 8 kB / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1508, allocations: 15.98 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1513, allocations: 277 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1516, allocations: 66.59 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1516, allocations: 0 / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.1519, allocations: 79.47 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.1519, allocations: 0 / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007932/0.1527, allocations: 173.2 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.1528, allocations: 55.39 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1531, allocations: 166.2 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1531, allocations: 29.7 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1532, allocations: 166.5 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.1533, allocations: 27.66 kB / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.1533, allocations: 0 / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1535, allocations: 314.8 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1536, allocations: 23.98 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1537, allocations: 37.64 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1538, allocations: 20 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1539, allocations: 0 / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00032/0.1542, allocations: 101.6 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1542, allocations: 7.938 kB / 495.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1542, allocations: 0 / 495.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1543, allocations: 4 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1544, allocations: 19.92 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1545, allocations: 0 / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.1546, allocations: 4 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1546, allocations: 4 kB / 495.2 MB, free: 6.004 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.0001608/0.1548, allocations: 125.9 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1548, allocations: 23.75 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/0.1549, allocations: 12.72 kB / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.1556, allocations: 391.3 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1557, allocations: 4 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.1557, allocations: 15.95 kB / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1558, allocations: 4 kB / 495.7 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1558, allocations: 0 / 495.7 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.1558, allocations: 0 / 495.7 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1558, allocations: 4 kB / 495.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1562, allocations: 214 kB / 495.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.1563, allocations: 92.91 kB / 496 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1563, allocations: 8 kB / 496 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1564, allocations: 0 / 496 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1565, allocations: 8.359 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1565, allocations: 4 kB / 496.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1567, allocations: 135.9 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1567, allocations: 0 / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.1571, allocations: 23.98 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.001998/0.1591, allocations: 1.179 MB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.1594, allocations: 59.91 kB / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1594, allocations: 0 / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1596, allocations: 27.94 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.0003896/0.16, allocations: 27.91 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.001741/0.1617, 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.0003595/0.1621, 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 9.519e-05/0.1622, allocations: 31.42 kB / 499.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1623, allocations: 0 / 499.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.116/3.278, allocations: 2.358 MB / 0.4897 GB, free: 42.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat