Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 177 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4528/0.4528, allocations: 43.54 MB / 314.5 MB, free: 8.746 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005993, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002579/0.1603, allocations: 1.353 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1616, allocations: 0.7188 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.1617, allocations: 3.938 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1621, allocations: 79.75 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1623, allocations: 63.84 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1626, allocations: 67.78 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1628, allocations: 63.92 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.1629, allocations: 11.95 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.163, allocations: 43.8 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1632, allocations: 39.89 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1632, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1633, allocations: 19.98 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1633, allocations: 19.91 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.1634, allocations: 45.58 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1636, allocations: 76.11 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1636, allocations: 4 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1636, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.619e-06/0.1636, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006759/0.1643, allocations: 398.8 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1644, allocations: 12.03 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.1644, allocations: 30.56 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1645, allocations: 11.81 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1648, allocations: 211.6 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1648, allocations: 0 / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1648, allocations: 8 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.165, allocations: 45.67 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.165, allocations: 0 / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.165, allocations: 7.891 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.165, allocations: 0 / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.1651, allocations: 23.86 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1653, allocations: 181.7 kB / 446.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1655, allocations: 58.61 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1656, allocations: 0 / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1658, allocations: 67.48 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1658, allocations: 0 / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.1661, allocations: 93.52 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1661, allocations: 59.36 kB / 446.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1663, allocations: 218.3 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1664, allocations: 25.7 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.1664, allocations: 108.1 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1665, allocations: 11.75 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1665, allocations: 0 / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1666, allocations: 326.8 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.1667, allocations: 12 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1667, allocations: 29.7 kB / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.1668, allocations: 23.94 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1668, allocations: 0 / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/0.167, allocations: 81.48 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.167, allocations: 4 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.167, allocations: 4 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.167, allocations: 0 / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.1671, allocations: 11.94 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1671, allocations: 3.953 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1672, allocations: 12.02 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1672, allocations: 4 kB / 447.5 MB, free: 8.074 MB / 382.1 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 (7): * Single equations (assignments): 7 * 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.0001059/0.1673, allocations: 125.8 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1673, allocations: 15.89 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.1674, allocations: 9 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1674, allocations: 0 / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1674, allocations: 0 / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1674, allocations: 3.953 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1676, allocations: 197.6 kB / 447.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.1676, allocations: 4 kB / 447.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.1676, allocations: 3.938 kB / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1676, allocations: 4 kB / 447.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1676, allocations: 0 / 447.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1676, allocations: 320 / 447.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1676, allocations: 0 / 447.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1678, allocations: 116.8 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.1679, allocations: 93 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1679, allocations: 4 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.168, allocations: 7.938 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.168, allocations: 3.984 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.168, allocations: 4 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1682, allocations: 160.2 kB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1682, allocations: 0 / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1684, allocations: 16 kB / 448.2 MB, free: 7.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001365/0.1698, allocations: 0.9497 MB / 449.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.17, allocations: 35.98 kB / 449.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.17, allocations: 7.938 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1701, allocations: 19.92 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1703, allocations: 27.91 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1716, allocations: 0.8462 MB / 450.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1719, allocations: 0.7121 MB / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.172, allocations: 4.562 kB / 450.8 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.172, allocations: 31.42 kB / 450.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.172, allocations: 0 / 450.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.1859, allocations: 2.733 MB / 453.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1862, allocations: 220.4 kB / 453.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.988, allocations: 0 / 453.8 MB, free: 1.559 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat