Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.00122/0.00122, allocations: 172.8 kB / 8 MB, free: 1.074 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.476/1.476, 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.001153/0.001153, allocations: 99.33 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.227/0.227, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.227e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5815, allocations: 86.79 MB / 0.5508 GB, free: 8.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5819, allocations: 74.95 kB / 0.5509 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5945, allocations: 5.477 MB / 0.5562 GB, free: 3.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5945, allocations: 0 / 0.5562 GB, free: 3.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.5945, allocations: 4 kB / 0.5562 GB, free: 3.707 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.0003461/0.5949, allocations: 410.3 kB / 0.5566 GB, free: 3.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5949, allocations: 11.97 kB / 0.5566 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.595, allocations: 19.56 kB / 0.5566 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.5952, allocations: 226.4 kB / 0.5569 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5953, allocations: 4 kB / 0.5569 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5953, allocations: 3.938 kB / 0.5569 GB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.914e-05/0.5954, allocations: 11.94 kB / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.464e-05/0.5955, allocations: 45.55 kB / 0.5569 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5955, allocations: 3.938 kB / 0.5569 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5955, allocations: 8 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5955, allocations: 0 / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.5957, allocations: 169.4 kB / 0.5571 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.5957, allocations: 46.06 kB / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.5958, allocations: 16.88 kB / 0.5571 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5958, allocations: 7.938 kB / 0.5572 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.5959, allocations: 62.84 kB / 0.5572 GB, free: 2.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.5959, allocations: 0 / 0.5572 GB, free: 2.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001824/0.5961, allocations: 81.17 kB / 0.5573 GB, free: 2.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.5961, allocations: 51.41 kB / 0.5573 GB, free: 2.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5963, allocations: 228 kB / 0.5576 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.5964, allocations: 29.7 kB / 0.5576 GB, free: 2.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.5964, allocations: 107.4 kB / 0.5577 GB, free: 2.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.5964, allocations: 11.81 kB / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5965, allocations: 4 kB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.5965, allocations: 330.5 kB / 0.558 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.5965, allocations: 11.88 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.5966, allocations: 25.16 kB / 0.5581 GB, free: 1.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.5966, allocations: 18.42 kB / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5966, allocations: 0 / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.395e-05/0.5967, allocations: 79.3 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5967, allocations: 12.03 kB / 0.5582 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5968, allocations: 0 / 0.5582 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5968, allocations: 0 / 0.5582 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.5968, allocations: 11.94 kB / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.5969, allocations: 160 / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.5969, allocations: 11.89 kB / 0.5582 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5969, allocations: 7.984 kB / 0.5582 GB, free: 1.633 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 5.206e-05/0.597, allocations: 104.5 kB / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.185e-05/0.5971, allocations: 77.36 kB / 0.5584 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.5971, allocations: 19.81 kB / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.5972, allocations: 98.89 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5973, allocations: 4 kB / 0.5585 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5973, allocations: 0 / 0.5585 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.5973, allocations: 3.938 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5974, allocations: 189 kB / 0.5587 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5974, allocations: 3.953 kB / 0.5587 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.5974, allocations: 8 kB / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5974, allocations: 0 / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.5975, allocations: 0 / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5975, allocations: 4 kB / 0.5587 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5975, allocations: 0 / 0.5587 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.5976, allocations: 110.7 kB / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.5976, allocations: 112.7 kB / 0.5589 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5977, allocations: 256 / 0.5589 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.5977, allocations: 4 kB / 0.5589 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.5978, allocations: 7.984 kB / 0.5589 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.5978, allocations: 4 kB / 0.5589 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5979, allocations: 193.4 kB / 0.5591 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5979, allocations: 0 / 0.5591 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.5981, allocations: 24 kB / 0.5591 GB, free: 0.6875 MB / 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.0009345/0.599, allocations: 0.8936 MB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5992, allocations: 42.42 kB / 0.56 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5992, allocations: 0 / 0.56 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.5992, allocations: 15.62 kB / 0.56 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.5994, allocations: 22.73 kB / 0.5601 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.5999, allocations: 262.2 kB / 0.5603 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.6002, allocations: 0.7163 MB / 0.561 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.6003, allocations: 20.36 kB / 0.561 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.6004, allocations: 44.11 kB / 0.5611 GB, free: 14.73 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.6004, allocations: 0 / 0.5611 GB, free: 14.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.6221, allocations: 2.767 MB / 0.5638 GB, free: 11.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.6224, allocations: 163.4 kB / 0.5639 GB, free: 11.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.245, allocations: 4 kB / 0.5639 GB, free: 11.78 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat