Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.001/0.001, allocations: 97.3 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.001077/0.001077, allocations: 179.5 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.864/1.864, 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.4315/0.4315, allocations: 43.55 MB / 314.5 MB, free: 9.066 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.0006365/0.0006365, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1652, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002206/0.1674, allocations: 1.349 MB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1687, allocations: 0.715 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.1688, allocations: 3.938 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.169, allocations: 35.83 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1692, allocations: 47.86 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1695, allocations: 75.78 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1697, allocations: 51.94 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.1698, allocations: 11.97 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.1699, allocations: 47.72 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.1699, allocations: 19.92 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.17, allocations: 0 / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.1701, allocations: 27.97 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1701, allocations: 27.86 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1702, allocations: 37.64 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1703, allocations: 96.02 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1704, allocations: 4 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1704, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1704, allocations: 0 / 445.4 MB, free: 10.63 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.0006238/0.171, allocations: 410.7 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1711, allocations: 8.031 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1711, allocations: 38.56 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1712, allocations: 15.8 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1715, allocations: 202.9 kB / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1715, allocations: 4 kB / 446.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1715, allocations: 3.984 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1717, allocations: 49.62 kB / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1717, allocations: 0 / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1717, allocations: 3.953 kB / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1717, allocations: 7.922 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.1718, allocations: 19.98 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.172, allocations: 193.6 kB / 446.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1722, allocations: 46.62 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1723, allocations: 4 kB / 446.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1724, allocations: 67.42 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1725, allocations: 4 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000283/0.1727, allocations: 97.75 kB / 446.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1728, allocations: 55.36 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1731, allocations: 254.5 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1731, allocations: 29.7 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.1732, allocations: 112.1 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1732, allocations: 15.81 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1732, allocations: 0 / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1734, allocations: 326.8 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.1734, allocations: 15.98 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.1735, allocations: 37.69 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.1736, allocations: 16.06 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1736, allocations: 0 / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.1737, allocations: 81.44 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1738, allocations: 8 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1738, allocations: 4.031 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1738, allocations: 3.938 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.1739, allocations: 15.98 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1739, allocations: 7.953 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.174, allocations: 3.938 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.174, allocations: 4 kB / 447.5 MB, free: 8.273 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.0001183/0.1741, allocations: 137.8 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.1741, allocations: 11.81 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1742, allocations: 24.98 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1742, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1742, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1742, allocations: 3.953 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1744, allocations: 193.6 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1744, allocations: 0 / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.1744, allocations: 3.938 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1744, allocations: 7.938 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1745, allocations: 0 / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1745, allocations: 0 / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1745, allocations: 0 / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1747, allocations: 120.9 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1747, allocations: 85 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1748, allocations: 8 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.1748, allocations: 0 / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1748, allocations: 8.109 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1749, allocations: 4 kB / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1751, allocations: 200 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 4 kB / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1753, allocations: 23.89 kB / 448.3 MB, free: 7.359 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.001387/0.1767, allocations: 0.9509 MB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1768, allocations: 47.92 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1769, allocations: 0 / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.1769, allocations: 16.12 kB / 449.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1772, allocations: 28.09 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1785, allocations: 0.9509 MB / 450.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1788, allocations: 0.716 MB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.1789, allocations: 12.55 kB / 451.1 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1789, allocations: 39.42 kB / 451.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1789, allocations: 0 / 451.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1944, allocations: 2.947 MB / 454 MB, free: 1.582 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.1947, allocations: 216.4 kB / 454.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.059, allocations: 0 / 454.3 MB, free: 1.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat