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.0009694/0.0009694, allocations: 177.6 kB / 8.003 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.488/1.488, 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.0008333/0.0008334, allocations: 86.64 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.1849/0.1849, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.861e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.4844, allocations: 88.68 MB / 0.5526 GB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4847, allocations: 79.67 kB / 0.5527 GB, free: 6.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.4965, allocations: 4.808 MB / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4966, allocations: 0 / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4966, allocations: 7.984 kB / 0.5574 GB, free: 2.344 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006911/0.4973, allocations: 0.5267 MB / 0.5579 GB, free: 1.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4974, allocations: 15.97 kB / 0.5579 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.4974, allocations: 19.72 kB / 0.558 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4977, allocations: 241 kB / 0.5582 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4978, allocations: 3.984 kB / 0.5582 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.4978, allocations: 15.88 kB / 0.5582 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.4979, allocations: 49.62 kB / 0.5583 GB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4981, allocations: 108.7 kB / 0.5584 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4981, allocations: 0 / 0.5584 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4981, allocations: 0 / 0.5584 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4981, allocations: 7.984 kB / 0.5584 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.4989, allocations: 0.5611 MB / 0.5589 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.4991, allocations: 100.1 kB / 0.559 GB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.4992, allocations: 43.28 kB / 0.5591 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4992, allocations: 4 kB / 0.5591 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.4994, allocations: 98.98 kB / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.4994, allocations: 0 / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000254/0.4996, allocations: 142 kB / 0.5593 GB, free: 424 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4997, allocations: 55.41 kB / 0.5593 GB, free: 356 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.4998, allocations: 192.1 kB / 0.5595 GB, free: 188 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4998, allocations: 28.95 kB / 0.5596 GB, free: 156 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.4999, allocations: 124 kB / 0.5597 GB, free: 48 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4999, allocations: 34.23 kB / 0.5597 GB, free: 20 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.5, allocations: 4 kB / 0.5597 GB, free: 16 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5001, allocations: 329.6 kB / 0.56 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.5002, allocations: 38.06 kB / 0.5601 GB, free: 15.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.5003, allocations: 69.28 kB / 0.5601 GB, free: 15.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.5003, allocations: 40.36 kB / 0.5602 GB, free: 15.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5004, allocations: 0 / 0.5602 GB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002572/0.5006, allocations: 157.7 kB / 0.5603 GB, free: 15.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5007, allocations: 36.98 kB / 0.5604 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5007, allocations: 0 / 0.5604 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5007, allocations: 7.953 kB / 0.5604 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.5009, allocations: 43.16 kB / 0.5604 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5009, allocations: 4 kB / 0.5604 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5011, allocations: 32 kB / 0.5604 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5011, allocations: 8 kB / 0.5604 GB, free: 15.31 MB / 378.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 9.588e-05/0.5012, allocations: 116 kB / 0.5606 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001976/0.5014, allocations: 137.6 kB / 0.5607 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.5015, allocations: 19.77 kB / 0.5607 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.5017, allocations: 145.7 kB / 0.5608 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5017, allocations: 7.984 kB / 0.5608 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5017, allocations: 0 / 0.5608 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5018, allocations: 0 / 0.5608 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5019, allocations: 212.1 kB / 0.5611 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5019, allocations: 0 / 0.5611 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5021, allocations: 42.84 kB / 0.5611 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5021, allocations: 0 / 0.5611 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5021, allocations: 7.984 kB / 0.5611 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5022, allocations: 3.953 kB / 0.5611 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5022, allocations: 4 kB / 0.5611 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.5025, allocations: 207 kB / 0.5613 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.5026, allocations: 100.5 kB / 0.5614 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.5026, allocations: 0 / 0.5614 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.5028, allocations: 32.03 kB / 0.5614 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.5029, allocations: 23.42 kB / 0.5615 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5029, allocations: 4 kB / 0.5615 GB, free: 14.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.503, allocations: 155.6 kB / 0.5616 GB, free: 14.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.503, allocations: 0 / 0.5616 GB, free: 14.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.5033, allocations: 47.92 kB / 0.5617 GB, free: 14.14 MB / 378.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.0012/0.5045, allocations: 1.001 MB / 0.5626 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.5047, allocations: 150.9 kB / 0.5628 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5048, allocations: 4 kB / 0.5628 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.5049, allocations: 55.28 kB / 0.5628 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5051, allocations: 50.62 kB / 0.5629 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.5058, allocations: 288.8 kB / 0.5632 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5061, allocations: 0.7241 MB / 0.5639 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.109e-05/0.5062, allocations: 25.33 kB / 0.5639 GB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5063, allocations: 55.78 kB / 0.5639 GB, free: 11.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5063, allocations: 0 / 0.5639 GB, free: 11.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.5306, allocations: 3.933 MB / 0.5678 GB, free: 7.977 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.5308, allocations: 162.5 kB / 0.5679 GB, free: 7.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.13, allocations: 4 kB / 0.5679 GB, free: 7.781 MB / 378.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