Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001152/0.001152, allocations: 96.28 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.00101/0.00101, allocations: 179.2 kB / 16.57 MB, free: 6.848 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.743/1.743, 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.4313/0.4313, allocations: 43.55 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.0006138/0.0006139, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 58.84 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002209/0.1551, allocations: 1.392 MB / 444.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1565, allocations: 0.7306 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1566, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1569, allocations: 35.78 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1571, allocations: 47.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1574, allocations: 75.73 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1575, allocations: 59.91 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.1576, allocations: 20.2 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.1577, allocations: 43.78 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.1578, allocations: 27.86 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1579, allocations: 0 / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.1579, allocations: 31.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.158, allocations: 31.84 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1581, allocations: 41.62 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1583, allocations: 100.1 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1583, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1583, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1583, allocations: 0 / 445.5 MB, free: 10.3 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.0005934/0.1589, allocations: 430.6 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1589, allocations: 8.031 kB / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.159, allocations: 38.5 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.159, allocations: 15.81 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1593, allocations: 219.7 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1594, allocations: 4 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1594, allocations: 4 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1596, allocations: 57.67 kB / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1596, allocations: 0 / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1596, allocations: 3.953 kB / 446.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1596, allocations: 0 / 446.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.1597, allocations: 19.98 kB / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.1601, allocations: 296.8 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1603, allocations: 62.67 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1603, allocations: 0 / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1606, allocations: 75.41 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1606, allocations: 0 / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005694/0.1611, allocations: 181 kB / 446.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1612, allocations: 55.41 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1615, allocations: 268.8 kB / 447.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1615, allocations: 29.7 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1616, allocations: 116.1 kB / 447.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.1616, allocations: 27.62 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1616, allocations: 4 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1618, allocations: 326.8 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1618, allocations: 19.98 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.1619, allocations: 33.7 kB / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.162, allocations: 28 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.162, allocations: 3.938 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1622, allocations: 109.4 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1622, allocations: 4.188 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1622, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1622, allocations: 3.938 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.1623, allocations: 16 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1623, allocations: 0 / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.1624, allocations: 16.02 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1624, allocations: 0 / 447.9 MB, free: 7.645 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.0001365/0.1626, allocations: 141.8 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1626, allocations: 19.77 kB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.1626, allocations: 21.39 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1626, allocations: 0 / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1627, allocations: 4 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1627, allocations: 0 / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1631, allocations: 407.3 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1631, allocations: 3.984 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1632, allocations: 8 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1632, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1632, allocations: 4 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1632, allocations: 0 / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1632, allocations: 0 / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1634, allocations: 221.8 kB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1635, allocations: 92.91 kB / 448.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1636, allocations: 8 kB / 448.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1636, allocations: 0 / 448.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1637, allocations: 7.984 kB / 448.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1637, allocations: 4.375 kB / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1639, allocations: 212.5 kB / 449 MB, free: 6.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1639, allocations: 4 kB / 449 MB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1642, allocations: 24 kB / 449.1 MB, free: 6.375 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.001488/0.1657, allocations: 1.195 MB / 450.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1659, allocations: 51.98 kB / 450.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1659, allocations: 0 / 450.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.166, allocations: 31.92 kB / 450.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1662, allocations: 28.11 kB / 450.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1676, allocations: 1.042 MB / 451.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.168, allocations: 0.7316 MB / 452.1 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.986e-05/0.168, allocations: 8.891 kB / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.1681, allocations: 43.41 kB / 452.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1681, allocations: 0 / 452.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/0.4232, allocations: 3.264 MB / 455.5 MB, free: 45.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.4234, allocations: 217.6 kB / 455.7 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.069, allocations: 0.5625 kB / 455.7 MB, free: 45.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat