Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.001033/0.001033, allocations: 176.7 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.578/1.578, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0008954/0.0008952, allocations: 90.62 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.1989/0.1989, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.493e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4878, allocations: 87.18 MB / 0.5512 GB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.488, allocations: 77.59 kB / 0.5512 GB, free: 7.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.5006, allocations: 5.646 MB / 0.5568 GB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5007, allocations: 0 / 0.5568 GB, free: 3.164 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.5007, allocations: 4 kB / 0.5568 GB, free: 3.16 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.0003619/0.5011, allocations: 390.5 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5011, allocations: 8.031 kB / 0.5571 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.5012, allocations: 7.906 kB / 0.5571 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5014, allocations: 210.3 kB / 0.5573 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5015, allocations: 0.75 kB / 0.5573 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.5015, allocations: 0 / 0.5573 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.551e-05/0.5016, allocations: 27.55 kB / 0.5574 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.5017, allocations: 66.91 kB / 0.5574 GB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5017, allocations: 0 / 0.5574 GB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5017, allocations: 4 kB / 0.5574 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5017, allocations: 3.984 kB / 0.5574 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.502, allocations: 260.3 kB / 0.5577 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5021, allocations: 54.33 kB / 0.5577 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.5022, allocations: 20.72 kB / 0.5578 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5022, allocations: 0 / 0.5578 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.5023, allocations: 59.22 kB / 0.5578 GB, free: 1.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.5023, allocations: 7.938 kB / 0.5578 GB, free: 1.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003457/0.5027, allocations: 152 kB / 0.558 GB, free: 1.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.5027, allocations: 80.92 kB / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.5028, allocations: 139 kB / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5028, allocations: 29.7 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.5028, allocations: 95.88 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.5029, allocations: 23.47 kB / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5029, allocations: 0 / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.5029, allocations: 318.6 kB / 0.5586 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.503, allocations: 19.81 kB / 0.5586 GB, free: 1.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.503, allocations: 42.12 kB / 0.5587 GB, free: 1.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.503, allocations: 23.3 kB / 0.5587 GB, free: 1.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.503, allocations: 0 / 0.5587 GB, free: 1.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001085/0.5032, allocations: 88.34 kB / 0.5588 GB, free: 1.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5032, allocations: 8 kB / 0.5588 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5032, allocations: 0 / 0.5588 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5032, allocations: 7.938 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.5033, allocations: 15.98 kB / 0.5588 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5033, allocations: 0 / 0.5588 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.5034, allocations: 8.062 kB / 0.5588 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.5034, allocations: 8.094 kB / 0.5588 GB, free: 0.9688 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.205e-05/0.5034, allocations: 108.4 kB / 0.5589 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001067/0.5036, allocations: 92.42 kB / 0.559 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.5036, allocations: 15.86 kB / 0.559 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.5038, allocations: 105.2 kB / 0.5591 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5038, allocations: 4 kB / 0.5592 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5038, allocations: 0 / 0.5592 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5038, allocations: 4.281 kB / 0.5592 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.5041, allocations: 366.2 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5041, allocations: 3.953 kB / 0.5595 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.5041, allocations: 15.92 kB / 0.5595 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5042, allocations: 4.188 kB / 0.5595 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5042, allocations: 7.688 kB / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5042, allocations: 0 / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5042, allocations: 0 / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.5043, allocations: 213.1 kB / 0.5597 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.5044, allocations: 96.81 kB / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.5044, allocations: 4 kB / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.5045, allocations: 0 / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5046, allocations: 7.984 kB / 0.5598 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.5046, allocations: 4 kB / 0.5598 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.5047, allocations: 122.4 kB / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5047, allocations: 0 / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000267/0.5049, allocations: 43.8 kB / 0.56 GB, free: 15.78 MB / 378.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.001256/0.5062, allocations: 1.136 MB / 0.5611 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.5063, allocations: 55.23 kB / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5063, allocations: 0 / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.5064, allocations: 27.31 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5066, allocations: 19.55 kB / 0.5612 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.5071, allocations: 195.1 kB / 0.5614 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.5074, allocations: 0.7041 MB / 0.5621 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.5075, allocations: 12.56 kB / 0.5621 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.5075, allocations: 42.91 kB / 0.5621 GB, free: 13.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5075, allocations: 0 / 0.5621 GB, free: 13.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.5328, allocations: 2.742 MB / 0.5648 GB, free: 10.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.5332, allocations: 175.1 kB / 0.565 GB, free: 10.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.142, allocations: 7.938 kB / 0.565 GB, free: 10.69 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat