Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001257/0.001257, allocations: 96.83 kB / 15.69 MB, free: 480 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.002382/0.002382, allocations: 177.4 kB / 16.57 MB, free: 6.852 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.852/1.852, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.36/0.36, allocations: 43.53 MB / 314.5 MB, free: 8.797 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.0009525/0.0009526, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1535, allocations: 58.85 MB / 442.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002256/0.1558, allocations: 1.52 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1572, allocations: 0.8046 MB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.1573, allocations: 4 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.1577, allocations: 147.6 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.158, allocations: 119.7 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1583, allocations: 127.7 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1586, allocations: 147.7 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1587, allocations: 17.53 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1589, allocations: 95.61 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.159, allocations: 95.64 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1591, allocations: 4 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1592, allocations: 27.94 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1592, allocations: 47.81 kB / 446 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.1593, allocations: 53.58 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1596, allocations: 144 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1596, allocations: 0 / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1596, allocations: 0 / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1596, allocations: 4 kB / 446.2 MB, free: 9.621 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007241/0.1603, allocations: 494.1 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1604, allocations: 11.97 kB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.1604, allocations: 42.55 kB / 446.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1605, allocations: 19.72 kB / 446.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1608, allocations: 250.6 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1608, allocations: 0 / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1609, allocations: 15.98 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1611, allocations: 103.3 kB / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1611, allocations: 3.984 kB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1612, allocations: 3.953 kB / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1612, allocations: 0 / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1613, allocations: 43.91 kB / 447.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.1619, allocations: 440.9 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1622, allocations: 117.4 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1622, allocations: 3.953 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.1625, allocations: 117.1 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1625, allocations: 0 / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008773/0.1634, allocations: 352 kB / 448.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1634, allocations: 81.11 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.1638, allocations: 351 kB / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1638, allocations: 33.7 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1639, allocations: 140.4 kB / 448.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.164, allocations: 51.34 kB / 448.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.164, allocations: 4 kB / 448.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1642, allocations: 338.8 kB / 449.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.1643, allocations: 39.94 kB / 449.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1644, allocations: 71.41 kB / 449.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1645, allocations: 52.08 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1645, allocations: 0 / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003026/0.1648, allocations: 173.3 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1648, allocations: 7.984 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1649, allocations: 4 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1649, allocations: 8 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.165, allocations: 39.92 kB / 449.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1651, allocations: 0 / 449.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.1651, allocations: 4 kB / 449.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1652, allocations: 12 kB / 449.5 MB, free: 5.996 MB / 382.1 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.000164/0.1653, allocations: 165.6 kB / 449.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1654, allocations: 23.62 kB / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.1655, allocations: 33.73 kB / 449.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1655, allocations: 7.938 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1655, allocations: 0.75 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1655, allocations: 0 / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.1662, allocations: 0.6048 MB / 450.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1662, allocations: 0 / 450.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1663, allocations: 27.92 kB / 450.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1663, allocations: 8.062 kB / 450.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1663, allocations: 4 kB / 450.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1663, allocations: 4 kB / 450.4 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1663, allocations: 3.953 kB / 450.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.1667, allocations: 393.3 kB / 450.8 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.1668, allocations: 108.7 kB / 450.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.1669, allocations: 11.97 kB / 450.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.167, allocations: 8 kB / 450.9 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1671, allocations: 11.98 kB / 450.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1671, allocations: 8 kB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1673, allocations: 265.9 kB / 451.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1673, allocations: 0 / 451.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.1677, allocations: 39.98 kB / 451.3 MB, free: 4.156 MB / 382.1 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.001714/0.1694, allocations: 1.505 MB / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1697, allocations: 115.8 kB / 452.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1697, allocations: 0 / 452.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1698, allocations: 59.91 kB / 452.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1702, allocations: 52.8 kB / 453 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1723, allocations: 1.743 MB / 454.7 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2674/0.4398, allocations: 0.7507 MB / 455.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.44, allocations: 34.17 kB / 455.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.4401, allocations: 70.67 kB / 455.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4401, allocations: 1.25 kB / 455.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.4548, allocations: 4.817 MB / 460.4 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.455, allocations: 213.9 kB / 460.6 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.305, allocations: 2.297 kB / 460.6 MB, free: 45.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat