Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007607/0.0007607, allocations: 90.59 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3617/0.3617, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.425e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5402, allocations: 89.35 MB / 0.5602 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5405, allocations: 69.53 kB / 0.5602 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.5538, allocations: 4.837 MB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5539, allocations: 0 / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.189e-05/0.5539, allocations: 7.984 kB / 0.565 GB, free: 12.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007566/0.5547, allocations: 0.5303 MB / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5548, allocations: 8.031 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.5548, allocations: 41.11 kB / 0.5655 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.5549, allocations: 19.25 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.5552, allocations: 251.2 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5552, allocations: 11.94 kB / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.5553, allocations: 11.73 kB / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.5555, allocations: 114.7 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.5555, allocations: 0 / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.5555, allocations: 12.44 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5556, allocations: 0 / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5557, allocations: 59.61 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.5564, allocations: 0.5908 MB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.5567, allocations: 101.4 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.5568, allocations: 47.72 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5568, allocations: 0 / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.557, allocations: 111.5 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.557, allocations: 0 / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.000282/0.5573, allocations: 137.3 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5574, allocations: 55.41 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.5575, allocations: 200.3 kB / 0.5672 GB, free: 9.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5576, allocations: 33.27 kB / 0.5672 GB, free: 9.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.5576, allocations: 123.8 kB / 0.5673 GB, free: 9.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.5577, allocations: 33.8 kB / 0.5674 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.5577, allocations: 11.19 kB / 0.5674 GB, free: 9.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.5578, allocations: 328.9 kB / 0.5677 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.5578, allocations: 36.94 kB / 0.5677 GB, free: 9.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.558, allocations: 80.69 kB / 0.5678 GB, free: 9.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.5581, allocations: 72.97 kB / 0.5679 GB, free: 9.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5581, allocations: 0 / 0.5679 GB, free: 9.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002602/0.5583, allocations: 203.1 kB / 0.5681 GB, free: 9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.5584, allocations: 29.7 kB / 0.5681 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5584, allocations: 4 kB / 0.5681 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5584, allocations: 0 / 0.5681 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.5586, allocations: 47.22 kB / 0.5682 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.5586, allocations: 0 / 0.5682 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5588, allocations: 31.88 kB / 0.5682 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.5588, allocations: 11.19 kB / 0.5682 GB, free: 8.879 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.119e-05/0.5589, allocations: 117.4 kB / 0.5683 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.559, allocations: 27.75 kB / 0.5683 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.5592, allocations: 150.3 kB / 0.5685 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5592, allocations: 7.938 kB / 0.5685 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5593, allocations: 0 / 0.5685 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5593, allocations: 7.922 kB / 0.5685 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.5594, allocations: 240.1 kB / 0.5687 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5595, allocations: 0 / 0.5687 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.5596, allocations: 31.97 kB / 0.5688 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.5596, allocations: 4 kB / 0.5688 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5597, allocations: 7.766 kB / 0.5688 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5597, allocations: 4 kB / 0.5688 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5597, allocations: 0 / 0.5688 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.56, allocations: 217.4 kB / 0.569 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.5601, allocations: 100.7 kB / 0.5691 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.5601, allocations: 12.12 kB / 0.5691 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5603, allocations: 31.98 kB / 0.5691 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.5604, allocations: 19.16 kB / 0.5691 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.5604, allocations: 8.25 kB / 0.5691 GB, free: 7.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5605, allocations: 164.4 kB / 0.5693 GB, free: 7.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5605, allocations: 0 / 0.5693 GB, free: 7.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.5608, allocations: 50.38 kB / 0.5693 GB, free: 7.766 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001333/0.5621, allocations: 1.043 MB / 0.5704 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.5624, allocations: 161.6 kB / 0.5705 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5624, allocations: 0 / 0.5705 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.5625, allocations: 51.19 kB / 0.5706 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5628, allocations: 44.88 kB / 0.5706 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.5635, allocations: 300.4 kB / 0.5709 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.5637, allocations: 0.7283 MB / 0.5716 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.256e-05/0.5638, allocations: 29.31 kB / 0.5716 GB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.5639, allocations: 49.86 kB / 0.5717 GB, free: 5.527 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5639, allocations: 4 kB / 0.5717 GB, free: 5.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.5836, allocations: 4.364 MB / 0.5759 GB, free: 1.191 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.5839, allocations: 179.6 kB / 0.5761 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.444, allocations: 4 kB / 0.5761 GB, free: 0.9688 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat