Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",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.001678/0.001683, allocations: 188.3 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.261/2.261, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001179/0.001178, allocations: 98.8 kB / 270.9 MB, free: 13.38 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.3305/0.3305, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006973/0.0006976, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.146, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003148/0.1492, allocations: 1.508 MB / 491.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1515, allocations: 0.8163 MB / 492.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1517, allocations: 3.938 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000591/0.1523, allocations: 211.5 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.1528, allocations: 147.6 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.1535, allocations: 123.7 kB / 493.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.1539, allocations: 147.7 kB / 493.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.154, allocations: 17.56 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.1543, allocations: 103.6 kB / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1545, allocations: 107.7 kB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.1546, allocations: 0 / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1548, allocations: 39.84 kB / 493.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.1549, allocations: 47.83 kB / 493.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.155, allocations: 57.58 kB / 493.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1553, allocations: 152 kB / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1553, allocations: 0 / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1553, allocations: 4 kB / 493.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1554, allocations: 0 / 493.8 MB, free: 5.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009668/0.1563, allocations: 0.502 MB / 494.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.1564, allocations: 8.031 kB / 494.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.1565, allocations: 42.48 kB / 494.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1566, allocations: 31.58 kB / 494.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.1571, allocations: 263.1 kB / 494.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1571, allocations: 8 kB / 494.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1571, allocations: 4 kB / 494.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1575, allocations: 103.3 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1575, allocations: 3.938 kB / 494.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1575, allocations: 4 kB / 494.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1576, allocations: 3.953 kB / 494.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1578, allocations: 39.95 kB / 494.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.1585, allocations: 445 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.159, allocations: 121.4 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.159, allocations: 11.92 kB / 495.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.1594, allocations: 109.2 kB / 495.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.196e-06/0.1594, allocations: 0 / 495.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001466/0.1609, allocations: 371.8 kB / 495.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.161, allocations: 85.11 kB / 495.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.1618, allocations: 424.5 kB / 496.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.1618, allocations: 29.7 kB / 496.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.162, allocations: 194.8 kB / 496.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1621, allocations: 51.34 kB / 496.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.1621, allocations: 7.938 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1623, allocations: 318.8 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1625, allocations: 35.98 kB / 496.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1627, allocations: 79.36 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.1629, allocations: 51.92 kB / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1629, allocations: 0 / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005376/0.1634, allocations: 157.5 kB / 497.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1635, allocations: 11.44 kB / 497.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1635, allocations: 4.062 kB / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1635, allocations: 0 / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1638, allocations: 35.92 kB / 497.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1638, allocations: 0 / 497.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.164, allocations: 15.94 kB / 497.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1641, allocations: 4 kB / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000268/0.1643, allocations: 165.8 kB / 497.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.1644, allocations: 35.56 kB / 497.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1645, allocations: 38.61 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1645, allocations: 4 kB / 497.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1646, allocations: 0 / 497.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1646, allocations: 3.938 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1658, allocations: 0.6126 MB / 498.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.1659, allocations: 4.062 kB / 498.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.166, allocations: 19.94 kB / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.166, allocations: 4 kB / 498.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1661, allocations: 11.98 kB / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1661, allocations: 0 / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1661, allocations: 480 / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.1668, allocations: 401.2 kB / 498.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1669, allocations: 112.7 kB / 498.7 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/0.167, allocations: 8.75 kB / 498.7 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1672, allocations: 4 kB / 498.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.1673, allocations: 15.98 kB / 498.7 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.1674, allocations: 15.98 kB / 498.7 MB, free: 400 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.1679, allocations: 315 kB / 499 MB, free: 88 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1679, allocations: 0 / 499 MB, free: 88 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005016/0.1684, allocations: 40 kB / 499.1 MB, free: 48 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002634/0.1711, allocations: 1.514 MB / 0.4889 GB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.1717, allocations: 111.8 kB / 0.489 GB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1717, allocations: 0 / 0.489 GB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.1719, allocations: 59.91 kB / 0.489 GB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.1726, allocations: 49.3 kB / 0.4891 GB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.1765, allocations: 1.943 MB / 0.491 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.1771, allocations: 0.7713 MB / 0.4917 GB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.1773, allocations: 87.33 kB / 0.4918 GB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1773, allocations: 0 / 0.4918 GB, free: 11.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.028/3.206, allocations: 4.457 MB / 0.4962 GB, free: 6.969 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat