Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001048/0.001048, allocations: 178.3 kB / 8.005 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.659/1.659, 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.0009929/0.0009929, allocations: 78.64 kB / 261.7 MB, free: 1.688 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.2277/0.2277, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.081e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5676, allocations: 86.8 MB / 0.5508 GB, free: 7.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5679, allocations: 74.88 kB / 0.5509 GB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.5808, allocations: 5.49 MB / 0.5562 GB, free: 3.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5809, allocations: 0 / 0.5562 GB, free: 3.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.5809, allocations: 0 / 0.5562 GB, free: 3.391 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003825/0.5813, allocations: 403.9 kB / 0.5566 GB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5813, allocations: 8.031 kB / 0.5566 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.5814, allocations: 15.81 kB / 0.5566 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.5817, allocations: 237 kB / 0.5569 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.5817, allocations: 0 / 0.5569 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.5817, allocations: 3.984 kB / 0.5569 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/0.5818, allocations: 18.88 kB / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/0.5819, allocations: 48.92 kB / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5819, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5819, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5819, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.5821, allocations: 168 kB / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.5822, allocations: 52.62 kB / 0.5571 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.5822, allocations: 20.3 kB / 0.5572 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.5822, allocations: 0 / 0.5572 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.5824, allocations: 61.8 kB / 0.5572 GB, free: 2.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5824, allocations: 0 / 0.5572 GB, free: 2.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000175/0.5825, allocations: 82.92 kB / 0.5573 GB, free: 2.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.5826, allocations: 51.41 kB / 0.5574 GB, free: 2.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.5828, allocations: 227.8 kB / 0.5576 GB, free: 1.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5828, allocations: 29.7 kB / 0.5576 GB, free: 1.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.5828, allocations: 116.7 kB / 0.5577 GB, free: 1.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.5829, allocations: 10.94 kB / 0.5577 GB, free: 1.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.5829, allocations: 3.938 kB / 0.5577 GB, free: 1.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.583, allocations: 329.3 kB / 0.558 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.583, allocations: 7.562 kB / 0.558 GB, free: 1.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.583, allocations: 25.64 kB / 0.5581 GB, free: 1.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.5831, allocations: 19.75 kB / 0.5581 GB, free: 1.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5831, allocations: 0 / 0.5581 GB, free: 1.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.5832, allocations: 85.03 kB / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5832, allocations: 7.938 kB / 0.5582 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5832, allocations: 0 / 0.5582 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5833, allocations: 0 / 0.5582 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.5833, allocations: 12 kB / 0.5582 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5834, allocations: 0 / 0.5582 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.5834, allocations: 7.906 kB / 0.5582 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.5834, allocations: 4.031 kB / 0.5582 GB, free: 1.324 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 (7): * Single equations (assignments): 7 * 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.642e-05/0.5835, allocations: 112.8 kB / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001035/0.5836, allocations: 81.17 kB / 0.5584 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.5836, allocations: 11.81 kB / 0.5584 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.5838, allocations: 97.47 kB / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5838, allocations: 0 / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5838, allocations: 0 / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5838, allocations: 0 / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.584, allocations: 187.3 kB / 0.5587 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.584, allocations: 11.89 kB / 0.5587 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.5841, allocations: 4 kB / 0.5587 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5841, allocations: 0 / 0.5587 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5841, allocations: 0 / 0.5587 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5841, allocations: 4 kB / 0.5587 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5841, allocations: 0 / 0.5587 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.5843, allocations: 109.8 kB / 0.5588 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.5844, allocations: 108.2 kB / 0.5589 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.5845, allocations: 256 / 0.5589 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.5845, allocations: 15.98 kB / 0.5589 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.5846, allocations: 7.484 kB / 0.5589 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5846, allocations: 4 kB / 0.5589 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.5847, allocations: 184.4 kB / 0.5591 GB, free: 416 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.5847, allocations: 0 / 0.5591 GB, free: 416 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.585, allocations: 31.69 kB / 0.5591 GB, free: 388 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00121/0.5862, allocations: 0.8934 MB / 0.56 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.5864, allocations: 38.06 kB / 0.56 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5864, allocations: 0 / 0.56 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.5864, allocations: 27.05 kB / 0.5601 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.5867, allocations: 23.42 kB / 0.5601 GB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.5874, allocations: 257 kB / 0.5603 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5877, allocations: 0.7188 MB / 0.561 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.5878, allocations: 20.41 kB / 0.561 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.5879, allocations: 35.73 kB / 0.5611 GB, free: 14.42 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5879, allocations: 0 / 0.5611 GB, free: 14.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.6114, allocations: 2.761 MB / 0.5638 GB, free: 11.67 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.6118, allocations: 171.5 kB / 0.5639 GB, free: 11.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.135, allocations: 4 kB / 0.5639 GB, free: 11.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat