Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001114/0.001114, allocations: 97.53 kB / 15.69 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.001223/0.001223, allocations: 174.2 kB / 16.56 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.73/1.73, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.465/0.465, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0005587/0.000559, allocations: 26.97 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.155, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002193/0.1572, allocations: 1.388 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1585, allocations: 0.7306 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.1586, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.159, allocations: 87.69 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1592, allocations: 63.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1595, allocations: 75.78 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1597, allocations: 67.89 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1598, allocations: 12.22 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1599, allocations: 47.77 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.961e-05/0.16, allocations: 51.83 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.16, allocations: 3.984 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.1601, allocations: 27.94 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.1602, allocations: 19.91 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.1603, allocations: 45.64 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1604, allocations: 88.03 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1604, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1604, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1605, allocations: 0 / 445.6 MB, free: 10.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005504/0.161, allocations: 414.8 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1611, allocations: 8.031 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1611, allocations: 38.56 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1612, allocations: 11.81 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1614, allocations: 210.8 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1614, allocations: 0 / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1615, allocations: 11.94 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1616, allocations: 53.67 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1617, allocations: 0 / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1617, allocations: 11.95 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1617, allocations: 0 / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.1618, allocations: 19.98 kB / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1622, allocations: 288.8 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1623, allocations: 58.62 kB / 446.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1624, allocations: 4 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1626, allocations: 71.45 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1626, allocations: 0 / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.1631, allocations: 169.2 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1632, allocations: 51.41 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1634, allocations: 222.6 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1634, allocations: 25.7 kB / 447.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1635, allocations: 112.1 kB / 447.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1635, allocations: 31.62 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.1635, allocations: 4 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1637, allocations: 322.8 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.1637, allocations: 23.92 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1639, allocations: 33.72 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.164, allocations: 27.98 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.164, allocations: 3.938 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1642, allocations: 101.5 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1642, allocations: 4 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1643, allocations: 4 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1643, allocations: 192 / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.1644, allocations: 15.98 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1644, allocations: 3.938 kB / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1644, allocations: 4 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1645, allocations: 8.031 kB / 447.9 MB, free: 7.688 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 (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.0001448/0.1646, allocations: 129.8 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1646, allocations: 15.77 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.1647, allocations: 21.39 kB / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1647, allocations: 0 / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1647, allocations: 3.984 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1647, allocations: 3.938 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.1652, allocations: 399.5 kB / 448.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1652, allocations: 0 / 448.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.1652, allocations: 19.92 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1652, allocations: 384 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1652, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1653, allocations: 8 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1653, allocations: 80 / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1655, allocations: 221.9 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1656, allocations: 89 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1656, allocations: 0 / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1657, allocations: 8 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1657, allocations: 11.92 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1658, allocations: 4 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1659, allocations: 168.3 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1662, allocations: 35.89 kB / 449 MB, free: 6.461 MB / 382.1 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.001504/0.1677, allocations: 1.167 MB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1679, allocations: 59.91 kB / 450.2 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1679, allocations: 4 kB / 450.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.168, allocations: 31.92 kB / 450.2 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1683, allocations: 32.17 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1695, allocations: 0.9165 MB / 451.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1698, allocations: 0.7199 MB / 451.9 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.1698, allocations: 21.17 kB / 451.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1699, allocations: 35.42 kB / 452 MB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1699, allocations: 0 / 452 MB, free: 3.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1854, allocations: 3.072 MB / 455 MB, free: 344 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.1856, allocations: 220.4 kB / 455.3 MB, free: 92 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.965, allocations: 0 / 455.3 MB, free: 92 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat