Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",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.002578/0.002578, allocations: 187.1 kB / 16.4 MB, free: 5.625 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.476/2.476, allocations: 205.4 MB / 222.5 MB, free: 13.7 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.001265/0.001265, allocations: 102.8 kB / 270.9 MB, free: 13.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3318/0.3318, allocations: 43.55 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006886, allocations: 16 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.141, allocations: 58.86 MB / 490.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002814/0.1438, allocations: 1.383 MB / 491.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1458, allocations: 0.7344 MB / 492.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1459, allocations: 4 kB / 492.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1463, allocations: 27.84 kB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1465, allocations: 43.88 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.147, allocations: 71.78 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1472, allocations: 63.86 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1473, allocations: 12.23 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1475, allocations: 35.84 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1476, allocations: 23.84 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1476, allocations: 4 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1478, allocations: 31.92 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.1478, allocations: 15.92 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1479, allocations: 37.64 kB / 492.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1481, allocations: 84.09 kB / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1481, allocations: 4 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1481, allocations: 0 / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1482, allocations: 0 / 492.9 MB, free: 6.609 MB / 330.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.0006804/0.1489, allocations: 390.9 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1489, allocations: 12.03 kB / 493.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.149, allocations: 38.55 kB / 493.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1491, allocations: 11.86 kB / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1494, allocations: 194.9 kB / 493.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1494, allocations: 0 / 493.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1495, allocations: 19.92 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1497, allocations: 49.67 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1497, allocations: 0 / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1497, allocations: 4 kB / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1497, allocations: 0 / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1499, allocations: 23.94 kB / 493.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1504, allocations: 280.9 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1506, allocations: 62.61 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1507, allocations: 0 / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.151, allocations: 67.52 kB / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.151, allocations: 0 / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008469/0.1518, allocations: 177.2 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1519, allocations: 55.41 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1522, allocations: 178.1 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1522, allocations: 29.64 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.1523, allocations: 158.6 kB / 494.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1524, allocations: 23.66 kB / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1524, allocations: 0 / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1526, allocations: 322.8 kB / 494.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1527, allocations: 16 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1528, allocations: 45.64 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1529, allocations: 23.98 kB / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1529, allocations: 3.938 kB / 495 MB, free: 4.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003181/0.1533, allocations: 93.52 kB / 495.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1533, allocations: 10.66 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1533, allocations: 3.953 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1533, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1535, allocations: 15.98 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1535, allocations: 8.031 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.1536, allocations: 4 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1537, allocations: 4 kB / 495.2 MB, free: 4.102 MB / 330.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.0001591/0.1538, allocations: 129.5 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1539, allocations: 7.906 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.154, allocations: 16.72 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.154, allocations: 7.953 kB / 495.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.154, allocations: 0 / 495.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.154, allocations: 7.984 kB / 495.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.1547, allocations: 379.3 kB / 495.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.1547, allocations: 3.984 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.1548, allocations: 15.89 kB / 495.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1548, allocations: 0 / 495.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1549, allocations: 8 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1549, allocations: 0 / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1549, allocations: 0 / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1553, allocations: 213.9 kB / 495.9 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1554, allocations: 93 kB / 496 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1554, allocations: 0 / 496 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1555, allocations: 4 kB / 496 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1556, allocations: 15.92 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.1556, allocations: 8.375 kB / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1558, allocations: 123.4 kB / 496.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1558, allocations: 0 / 496.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.1562, allocations: 27.92 kB / 496.2 MB, free: 2.945 MB / 330.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.002102/0.1583, allocations: 1.169 MB / 497.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003516/0.1587, allocations: 63.89 kB / 497.4 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1588, allocations: 4.062 kB / 497.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1589, allocations: 31.92 kB / 497.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1593, allocations: 23.92 kB / 497.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1612, allocations: 0.8477 MB / 498.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1616, allocations: 0.708 MB / 499.1 MB, free: 40 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1617, allocations: 31.44 kB / 499.1 MB, free: 8 kB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1617, allocations: 0 / 499.1 MB, free: 8 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/2.808, allocations: 2.368 MB / 0.4897 GB, free: 13.64 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat