Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001132/0.001132, allocations: 177.6 kB / 8.002 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.448/1.448, 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.0009305/0.0009304, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.1997/0.1997, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.473e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4865, allocations: 86.96 MB / 0.551 GB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4867, allocations: 77.86 kB / 0.551 GB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.4994, allocations: 5.286 MB / 0.5562 GB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4995, allocations: 4 kB / 0.5562 GB, free: 3.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4995, allocations: 0 / 0.5562 GB, free: 3.453 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.0003374/0.4998, allocations: 405.2 kB / 0.5566 GB, free: 3.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4999, allocations: 8.031 kB / 0.5566 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.4999, allocations: 11.89 kB / 0.5566 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.5001, allocations: 209.3 kB / 0.5568 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5002, allocations: 0 / 0.5568 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.5002, allocations: 11.48 kB / 0.5568 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.103e-05/0.5003, allocations: 11.25 kB / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.5003, allocations: 52.67 kB / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5004, allocations: 4 kB / 0.5569 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5004, allocations: 0 / 0.5569 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5004, allocations: 4 kB / 0.5569 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.5007, allocations: 268.2 kB / 0.5571 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.5008, allocations: 51.62 kB / 0.5572 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.5008, allocations: 16.48 kB / 0.5572 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.5008, allocations: 8 kB / 0.5572 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/0.5009, allocations: 69.39 kB / 0.5573 GB, free: 2.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5009, allocations: 3.938 kB / 0.5573 GB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003717/0.5013, allocations: 143.9 kB / 0.5574 GB, free: 2.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.5013, allocations: 55.41 kB / 0.5575 GB, free: 2.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5015, allocations: 157.4 kB / 0.5576 GB, free: 1.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5015, allocations: 25.7 kB / 0.5576 GB, free: 1.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.5015, allocations: 101.9 kB / 0.5577 GB, free: 1.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.5016, allocations: 22.91 kB / 0.5578 GB, free: 1.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5016, allocations: 0 / 0.5578 GB, free: 1.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.5016, allocations: 324.7 kB / 0.5581 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.5017, allocations: 17.36 kB / 0.5581 GB, free: 1.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.5017, allocations: 32.03 kB / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.5018, allocations: 26.73 kB / 0.5581 GB, free: 1.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5018, allocations: 7.938 kB / 0.5582 GB, free: 1.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.5019, allocations: 82.41 kB / 0.5582 GB, free: 1.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5019, allocations: 8 kB / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5019, allocations: 192 / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.502, allocations: 0 / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.5021, allocations: 27.42 kB / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5021, allocations: 3.938 kB / 0.5583 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.5021, allocations: 3.984 kB / 0.5583 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.5021, allocations: 7.953 kB / 0.5583 GB, free: 1.281 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.438e-05/0.5022, allocations: 109 kB / 0.5584 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001118/0.5023, allocations: 95.56 kB / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.5023, allocations: 11.81 kB / 0.5585 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.5025, allocations: 106.3 kB / 0.5586 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.5025, allocations: 0 / 0.5586 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5025, allocations: 3.953 kB / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5026, allocations: 0 / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.5028, allocations: 374.3 kB / 0.559 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5029, allocations: 4 kB / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.5029, allocations: 11.98 kB / 0.559 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5029, allocations: 0 / 0.559 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5029, allocations: 4 kB / 0.559 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5029, allocations: 3.953 kB / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5029, allocations: 0 / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.5031, allocations: 214.4 kB / 0.5592 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.5031, allocations: 96.44 kB / 0.5593 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.5032, allocations: 7.953 kB / 0.5593 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.5033, allocations: 0 / 0.5593 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.5033, allocations: 7.984 kB / 0.5593 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5033, allocations: 8.125 kB / 0.5593 GB, free: 232 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.915e-05/0.5034, allocations: 124.5 kB / 0.5594 GB, free: 124 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5034, allocations: 0 / 0.5594 GB, free: 124 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.5036, allocations: 39.36 kB / 0.5595 GB, free: 88 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.001197/0.5048, allocations: 1.096 MB / 0.5605 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.505, allocations: 60.08 kB / 0.5606 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.505, allocations: 0 / 0.5606 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.505, allocations: 26.56 kB / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5053, allocations: 22.67 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.5058, allocations: 209.4 kB / 0.5608 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5061, allocations: 0.7041 MB / 0.5615 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.5061, allocations: 16.62 kB / 0.5615 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.5062, allocations: 36.17 kB / 0.5616 GB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5062, allocations: 0 / 0.5616 GB, free: 13.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.5295, allocations: 2.579 MB / 0.5641 GB, free: 11.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.5297, allocations: 166.2 kB / 0.5642 GB, free: 11.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.026, allocations: 3.938 kB / 0.5642 GB, free: 11.19 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat