Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001546/0.001546, allocations: 182.8 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 1.771/1.771, 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.0009225/0.0009225, allocations: 88.83 kB / 267.1 MB, free: 9.285 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.4255/0.4255, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.016e-05/5.027e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5379, allocations: 87.61 MB / 0.5585 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5383, allocations: 75.44 kB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.5579, allocations: 5.549 MB / 0.564 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5579, allocations: 0 / 0.564 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.558, allocations: 4 kB / 0.564 GB, free: 13.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003944/0.5584, allocations: 411.7 kB / 0.5644 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5584, allocations: 12.03 kB / 0.5644 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5584, allocations: 34.44 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.5585, allocations: 19.25 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.5587, allocations: 221.3 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5588, allocations: 7.25 kB / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.5588, allocations: 0 / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.5589, allocations: 52.3 kB / 0.5647 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5589, allocations: 0 / 0.5647 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.559, allocations: 5.375 kB / 0.5647 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.559, allocations: 0 / 0.5647 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.559, allocations: 22.69 kB / 0.5647 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.5594, allocations: 308.1 kB / 0.565 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5595, allocations: 51.5 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.5595, allocations: 19.23 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5595, allocations: 3.938 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.5597, allocations: 74.02 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5597, allocations: 0 / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.5601, allocations: 154.5 kB / 0.5653 GB, free: 11.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5601, allocations: 55.41 kB / 0.5654 GB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.5603, allocations: 202.7 kB / 0.5655 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5603, allocations: 25.7 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.5604, allocations: 113.7 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.5604, allocations: 23.28 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.5604, allocations: 0 / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.5605, allocations: 333.5 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.5606, allocations: 18.75 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.5606, allocations: 34.62 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.5606, allocations: 22.03 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5607, allocations: 4 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001253/0.5608, allocations: 93.47 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5608, allocations: 9.094 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5608, allocations: 4.031 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5608, allocations: 0 / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.5609, allocations: 19.92 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.561, allocations: 8.109 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.561, allocations: 0 / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.561, allocations: 7.984 kB / 0.5662 GB, free: 10.89 MB / 394.7 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 () * 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 5.799e-05/0.5611, allocations: 114.6 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.5611, allocations: 15.8 kB / 0.5664 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.5613, allocations: 115.6 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5613, allocations: 4 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5613, allocations: 5.297 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5613, allocations: 7.938 kB / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.5617, allocations: 416.6 kB / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5617, allocations: 0 / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.5618, allocations: 11.98 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5618, allocations: 0 / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5618, allocations: 11.98 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5618, allocations: 0 / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5618, allocations: 192 / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.562, allocations: 223.5 kB / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.562, allocations: 99.78 kB / 0.5672 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.5621, allocations: 11.95 kB / 0.5672 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.5621, allocations: 4 kB / 0.5672 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.5622, allocations: 10.61 kB / 0.5672 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.5622, allocations: 4 kB / 0.5672 GB, free: 9.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5623, allocations: 172.1 kB / 0.5674 GB, free: 9.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5623, allocations: 0 / 0.5674 GB, free: 9.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.5626, allocations: 35.12 kB / 0.5674 GB, free: 9.668 MB / 394.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001177/0.5638, allocations: 1.133 MB / 0.5685 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.5639, allocations: 64.55 kB / 0.5686 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5639, allocations: 0 / 0.5686 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.564, allocations: 26.69 kB / 0.5686 GB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5643, allocations: 23.75 kB / 0.5687 GB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.5648, allocations: 264.7 kB / 0.5689 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.5649, allocations: 0.7162 MB / 0.5696 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.565, allocations: 20.84 kB / 0.5696 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.5651, allocations: 39.3 kB / 0.5697 GB, free: 7.461 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5651, allocations: 0 / 0.5697 GB, free: 7.461 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.5786, allocations: 3.219 MB / 0.5728 GB, free: 4.277 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.5788, allocations: 191.5 kB / 0.573 GB, free: 4.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.302, allocations: 0 / 0.573 GB, free: 4.047 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat