Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.0009658/0.0009658, allocations: 177.2 kB / 8.008 MB, free: 1.066 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.541/1.541, 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.0008201/0.0008201, allocations: 94.62 kB / 261.8 MB, free: 1.672 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.18/0.18, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.424e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.487, allocations: 86.96 MB / 0.551 GB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4873, allocations: 72.34 kB / 0.551 GB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.5005, allocations: 5.462 MB / 0.5564 GB, free: 3.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5006, allocations: 0 / 0.5564 GB, free: 3.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.5006, allocations: 4 kB / 0.5564 GB, free: 3.582 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.0004636/0.5011, allocations: 397.7 kB / 0.5567 GB, free: 3.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5012, allocations: 12.03 kB / 0.5568 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.5012, allocations: 15.81 kB / 0.5568 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5015, allocations: 220.4 kB / 0.557 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.5016, allocations: 4 kB / 0.557 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.5016, allocations: 0 / 0.557 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.508e-05/0.5017, allocations: 22.48 kB / 0.557 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.5018, allocations: 53.48 kB / 0.5571 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5018, allocations: 0 / 0.5571 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5018, allocations: 0 / 0.5571 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5018, allocations: 0 / 0.5571 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.5022, allocations: 277.8 kB / 0.5573 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/0.5023, allocations: 48.94 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.5024, allocations: 20.3 kB / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5024, allocations: 0 / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.5025, allocations: 73.7 kB / 0.5575 GB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.5025, allocations: 0 / 0.5575 GB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004224/0.5029, allocations: 153 kB / 0.5576 GB, free: 2.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.503, allocations: 59.33 kB / 0.5577 GB, free: 2.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.5031, allocations: 184.4 kB / 0.5578 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5032, allocations: 25.7 kB / 0.5579 GB, free: 1.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.5032, allocations: 110.4 kB / 0.558 GB, free: 1.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.5033, allocations: 23.33 kB / 0.558 GB, free: 1.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5033, allocations: 0 / 0.558 GB, free: 1.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.5033, allocations: 330.1 kB / 0.5583 GB, free: 1.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.5034, allocations: 14.88 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.5034, allocations: 28.78 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.5035, allocations: 22.61 kB / 0.5584 GB, free: 1.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5035, allocations: 0 / 0.5584 GB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.5036, allocations: 95.31 kB / 0.5585 GB, free: 1.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5036, allocations: 7.984 kB / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5036, allocations: 4.031 kB / 0.5585 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5037, allocations: 4 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.5038, allocations: 12 kB / 0.5585 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5038, allocations: 0 / 0.5585 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.5038, allocations: 8.125 kB / 0.5585 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5038, allocations: 11.94 kB / 0.5585 GB, free: 1.363 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 6.424e-05/0.5039, allocations: 112.7 kB / 0.5586 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001162/0.504, allocations: 90.28 kB / 0.5587 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.504, allocations: 19.8 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.5042, allocations: 110.6 kB / 0.5588 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5042, allocations: 0 / 0.5588 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5042, allocations: 3.953 kB / 0.5588 GB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5043, allocations: 7.984 kB / 0.5588 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.5046, allocations: 377.7 kB / 0.5592 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5046, allocations: 0 / 0.5592 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.5046, allocations: 12 kB / 0.5592 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5046, allocations: 4.031 kB / 0.5592 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5046, allocations: 0 / 0.5592 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5046, allocations: 7.953 kB / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5047, allocations: 0 / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.5048, allocations: 222 kB / 0.5594 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.5049, allocations: 100.5 kB / 0.5595 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.5049, allocations: 11.94 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.505, allocations: 4 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.505, allocations: 7.984 kB / 0.5595 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.505, allocations: 4 kB / 0.5596 GB, free: 292 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.175e-05/0.5051, allocations: 147.6 kB / 0.5597 GB, free: 168 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5051, allocations: 0 / 0.5597 GB, free: 168 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.5054, allocations: 35.23 kB / 0.5597 GB, free: 136 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.001313/0.5067, allocations: 1.098 MB / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.5069, allocations: 60.55 kB / 0.5609 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5069, allocations: 0 / 0.5609 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.5069, allocations: 26.38 kB / 0.5609 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.5072, allocations: 21.42 kB / 0.5609 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.5077, allocations: 241.1 kB / 0.5611 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.5081, allocations: 0.7188 MB / 0.5618 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.5081, allocations: 16.56 kB / 0.5618 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.5082, allocations: 37.86 kB / 0.5619 GB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5082, allocations: 0 / 0.5619 GB, free: 13.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.5278, allocations: 2.791 MB / 0.5646 GB, free: 11.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.528, allocations: 167.2 kB / 0.5648 GB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.139, allocations: 0 / 0.5648 GB, free: 11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat