Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.0009936/0.0009937, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008417/0.0008418, allocations: 86.61 kB / 261.7 MB, free: 1.68 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.1883/0.1883, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.742e-05, allocations: 8 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5479, allocations: 86.96 MB / 0.551 GB, free: 7.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5482, allocations: 72.88 kB / 0.551 GB, free: 7.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.562, allocations: 5.401 MB / 0.5563 GB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.562, allocations: 0 / 0.5563 GB, free: 3.633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.562, allocations: 7.938 kB / 0.5563 GB, free: 3.625 MB / 362.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.0003889/0.5624, allocations: 401.4 kB / 0.5567 GB, free: 3.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5625, allocations: 12.03 kB / 0.5567 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.5625, allocations: 11.89 kB / 0.5567 GB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.5628, allocations: 220.5 kB / 0.5569 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5628, allocations: 4 kB / 0.5569 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.5629, allocations: 3.984 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.349e-05/0.563, allocations: 15.44 kB / 0.557 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.547e-05/0.563, allocations: 56.05 kB / 0.557 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5631, allocations: 4 kB / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5631, allocations: 0 / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5631, allocations: 0 / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.5634, allocations: 271.7 kB / 0.5573 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.5635, allocations: 47.44 kB / 0.5573 GB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.5636, allocations: 19.8 kB / 0.5573 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5636, allocations: 4 kB / 0.5573 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.5638, allocations: 65.89 kB / 0.5574 GB, free: 2.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.786e-06/0.5638, allocations: 3.984 kB / 0.5574 GB, free: 2.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004732/0.5642, allocations: 148.4 kB / 0.5575 GB, free: 2.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5643, allocations: 59.33 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.5645, allocations: 181.3 kB / 0.5578 GB, free: 2.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5645, allocations: 29.7 kB / 0.5578 GB, free: 2.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.5646, allocations: 111.5 kB / 0.5579 GB, free: 1.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.5646, allocations: 23.28 kB / 0.5579 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5646, allocations: 0 / 0.5579 GB, free: 1.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5648, allocations: 326.3 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.5648, allocations: 15.23 kB / 0.5583 GB, free: 1.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.5649, allocations: 32.28 kB / 0.5583 GB, free: 1.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.5649, allocations: 22.73 kB / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5649, allocations: 4 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001378/0.5651, allocations: 90.84 kB / 0.5584 GB, free: 1.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5651, allocations: 4 kB / 0.5584 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5651, allocations: 0 / 0.5584 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5651, allocations: 0 / 0.5584 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5653, allocations: 19.98 kB / 0.5584 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5653, allocations: 0 / 0.5584 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.5654, allocations: 4 kB / 0.5584 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5654, allocations: 3.953 kB / 0.5584 GB, free: 1.418 MB / 362.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 8.966e-05/0.5655, allocations: 110.7 kB / 0.5585 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000174/0.5657, allocations: 102.5 kB / 0.5586 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.5657, allocations: 11.91 kB / 0.5586 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.566, allocations: 121.2 kB / 0.5588 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.566, allocations: 0 / 0.5588 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.566, allocations: 3.953 kB / 0.5588 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.566, allocations: 0 / 0.5588 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.5665, allocations: 385.2 kB / 0.5591 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5665, allocations: 4 kB / 0.5591 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.5666, allocations: 8 kB / 0.5591 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5666, allocations: 0 / 0.5591 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5666, allocations: 3.984 kB / 0.5591 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5666, allocations: 7.953 kB / 0.5592 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5666, allocations: 0 / 0.5592 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5669, allocations: 210.7 kB / 0.5594 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.567, allocations: 95.11 kB / 0.5594 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.567, allocations: 3.953 kB / 0.5594 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5671, allocations: 11.92 kB / 0.5595 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5672, allocations: 7.062 kB / 0.5595 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5672, allocations: 3.984 kB / 0.5595 GB, free: 352 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.5674, allocations: 141.2 kB / 0.5596 GB, free: 232 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5674, allocations: 0 / 0.5596 GB, free: 232 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.5679, allocations: 35.11 kB / 0.5596 GB, free: 200 kB / 362.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.0019/0.5698, allocations: 1.102 MB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.57, allocations: 53.7 kB / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.57, allocations: 0 / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.5701, allocations: 36.12 kB / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.5705, allocations: 21.73 kB / 0.5608 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.5714, allocations: 224.7 kB / 0.561 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.5718, allocations: 0.708 MB / 0.5617 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.5719, allocations: 24.91 kB / 0.5618 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5721, allocations: 35.61 kB / 0.5618 GB, free: 14.05 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5721, allocations: 0 / 0.5618 GB, free: 14.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.6007, allocations: 2.716 MB / 0.5644 GB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.6011, allocations: 162.5 kB / 0.5646 GB, free: 11.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.316, allocations: 3.938 kB / 0.5646 GB, free: 11.15 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat