Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.0009484/0.0009484, allocations: 176.4 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.688/1.688, 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.000972/0.0009719, 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.247/0.247, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.304e-05, allocations: 8 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 58.86 MB / 477.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5795, allocations: 86.79 MB / 0.5508 GB, free: 7.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.5798, allocations: 79.5 kB / 0.5509 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.5932, allocations: 5.48 MB / 0.5562 GB, free: 3.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5933, allocations: 0 / 0.5562 GB, free: 3.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.5933, allocations: 0 / 0.5562 GB, free: 3.305 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.0004043/0.5937, allocations: 409.2 kB / 0.5566 GB, free: 2.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5937, allocations: 12.03 kB / 0.5566 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.5938, allocations: 15.8 kB / 0.5566 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.5941, allocations: 228.8 kB / 0.5569 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5941, allocations: 0 / 0.5569 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.5941, allocations: 3.984 kB / 0.5569 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.666e-05/0.5942, allocations: 15.81 kB / 0.5569 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.372e-05/0.5943, allocations: 53.22 kB / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5943, allocations: 0 / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5943, allocations: 3.562 kB / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5943, allocations: 0 / 0.5569 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.5945, allocations: 168.9 kB / 0.5571 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.5946, allocations: 49.44 kB / 0.5571 GB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.5947, allocations: 20.8 kB / 0.5572 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.5947, allocations: 0 / 0.5572 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.5948, allocations: 62.42 kB / 0.5572 GB, free: 2.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.5948, allocations: 0 / 0.5572 GB, free: 2.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001865/0.595, allocations: 87.86 kB / 0.5573 GB, free: 2.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.595, allocations: 51.41 kB / 0.5574 GB, free: 2.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.5952, allocations: 228.8 kB / 0.5576 GB, free: 1.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.5952, allocations: 33.64 kB / 0.5576 GB, free: 1.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.5953, allocations: 112.1 kB / 0.5577 GB, free: 1.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.5953, allocations: 11.75 kB / 0.5577 GB, free: 1.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.5954, allocations: 3.938 kB / 0.5577 GB, free: 1.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.5954, allocations: 330 kB / 0.558 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.5955, allocations: 10.56 kB / 0.5581 GB, free: 1.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.5955, allocations: 28.95 kB / 0.5581 GB, free: 1.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.5955, allocations: 11.94 kB / 0.5581 GB, free: 1.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5956, allocations: 0 / 0.5581 GB, free: 1.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.753e-05/0.5957, allocations: 83.53 kB / 0.5582 GB, free: 1.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5957, allocations: 4 kB / 0.5582 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.5957, allocations: 0 / 0.5582 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5957, allocations: 3.938 kB / 0.5582 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.5958, allocations: 12 kB / 0.5582 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5958, allocations: 0 / 0.5582 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.5959, allocations: 7.906 kB / 0.5582 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5959, allocations: 7.562 kB / 0.5582 GB, free: 1.234 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.608e-05/0.5959, allocations: 110.4 kB / 0.5583 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.888e-05/0.5961, allocations: 79.86 kB / 0.5584 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.5961, allocations: 11.81 kB / 0.5584 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.5962, allocations: 102.8 kB / 0.5585 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5962, allocations: 0 / 0.5585 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5962, allocations: 0 / 0.5585 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5963, allocations: 0 / 0.5585 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.5964, allocations: 185.2 kB / 0.5587 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5964, allocations: 3.953 kB / 0.5587 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.5964, allocations: 8 kB / 0.5587 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5964, allocations: 0 / 0.5587 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5964, allocations: 0 / 0.5587 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5964, allocations: 4.25 kB / 0.5587 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5964, allocations: 0 / 0.5587 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.5966, allocations: 118 kB / 0.5588 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.5966, allocations: 104.3 kB / 0.5589 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.5966, allocations: 0 / 0.5589 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.5967, allocations: 8 kB / 0.5589 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.5967, allocations: 3.984 kB / 0.5589 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5967, allocations: 7.5 kB / 0.5589 GB, free: 480 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.5969, allocations: 184.3 kB / 0.5591 GB, free: 328 kB / 362.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.5969, allocations: 0 / 0.5591 GB, free: 328 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.5971, allocations: 31.31 kB / 0.5591 GB, free: 300 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.000998/0.5981, allocations: 0.8948 MB / 0.56 GB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.5982, allocations: 34 kB / 0.56 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5982, allocations: 0 / 0.56 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.5983, allocations: 24.42 kB / 0.5601 GB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5985, allocations: 28.7 kB / 0.5601 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.599, allocations: 257.4 kB / 0.5603 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5994, allocations: 0.7158 MB / 0.561 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.5994, allocations: 19.86 kB / 0.561 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.5995, allocations: 40.11 kB / 0.5611 GB, free: 14.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5995, allocations: 4 kB / 0.5611 GB, free: 14.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.6211, allocations: 2.763 MB / 0.5638 GB, free: 11.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.6214, allocations: 171.5 kB / 0.5639 GB, free: 11.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.129, allocations: 0 / 0.5639 GB, free: 11.38 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat