Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.001158/0.001158, 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.567/1.567, 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.0007988/0.0007987, 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.1988/0.1988, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.977e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4821, allocations: 86.95 MB / 0.5509 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.4823, allocations: 80.61 kB / 0.551 GB, free: 7.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.4955, allocations: 5.399 MB / 0.5563 GB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4955, allocations: 0 / 0.5563 GB, free: 3.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4955, allocations: 11.94 kB / 0.5563 GB, free: 3.68 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.0004231/0.496, allocations: 397.5 kB / 0.5567 GB, free: 3.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.496, allocations: 8.031 kB / 0.5567 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.4961, allocations: 11.91 kB / 0.5567 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.4963, allocations: 225.4 kB / 0.5569 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.4964, allocations: 2.938 kB / 0.5569 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4964, allocations: 4 kB / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.904e-05/0.4965, allocations: 15.11 kB / 0.5569 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.4966, allocations: 56.11 kB / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4966, allocations: 0 / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4966, allocations: 0 / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4966, allocations: 4 kB / 0.557 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.4969, allocations: 271.8 kB / 0.5572 GB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.867e-05/0.497, allocations: 47.62 kB / 0.5573 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.4971, allocations: 15.92 kB / 0.5573 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4971, allocations: 0 / 0.5573 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.4972, allocations: 77.86 kB / 0.5574 GB, free: 2.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.4972, allocations: 7.984 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000424/0.4976, allocations: 139.7 kB / 0.5575 GB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.4977, allocations: 59.34 kB / 0.5576 GB, free: 2.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4978, allocations: 189.2 kB / 0.5578 GB, free: 2.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4978, allocations: 25.7 kB / 0.5578 GB, free: 2.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.4979, allocations: 103.2 kB / 0.5579 GB, free: 1.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.4979, allocations: 23.41 kB / 0.5579 GB, free: 1.973 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.4979, allocations: 0 / 0.5579 GB, free: 1.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.498, allocations: 325.8 kB / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.498, allocations: 23.61 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.4981, allocations: 31.97 kB / 0.5583 GB, free: 1.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.4981, allocations: 18.23 kB / 0.5583 GB, free: 1.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4981, allocations: 0 / 0.5583 GB, free: 1.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.4982, allocations: 91.03 kB / 0.5584 GB, free: 1.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4983, allocations: 4 kB / 0.5584 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4983, allocations: 4 kB / 0.5584 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4983, allocations: 4.031 kB / 0.5584 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.4984, allocations: 15.98 kB / 0.5584 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4984, allocations: 0 / 0.5584 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.4985, allocations: 4 kB / 0.5584 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4985, allocations: 8.109 kB / 0.5584 GB, free: 1.473 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 5.798e-05/0.4985, allocations: 106.2 kB / 0.5585 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001194/0.4987, allocations: 107.5 kB / 0.5586 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.4987, allocations: 7.906 kB / 0.5586 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.4989, allocations: 121.4 kB / 0.5587 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4989, allocations: 0 / 0.5587 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4989, allocations: 7.953 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4989, allocations: 0 / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4992, allocations: 380.5 kB / 0.5591 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4993, allocations: 0 / 0.5591 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.4993, allocations: 8 kB / 0.5591 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4993, allocations: 0 / 0.5591 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4993, allocations: 4 kB / 0.5591 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4993, allocations: 11.97 kB / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4993, allocations: 0 / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.4995, allocations: 209.1 kB / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.4996, allocations: 92.92 kB / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4996, allocations: 7.953 kB / 0.5594 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.4997, allocations: 14.98 kB / 0.5594 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.4997, allocations: 4 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4997, allocations: 4 kB / 0.5595 GB, free: 412 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.214e-05/0.4998, allocations: 141.3 kB / 0.5596 GB, free: 292 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4998, allocations: 0 / 0.5596 GB, free: 292 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.5001, allocations: 34.92 kB / 0.5596 GB, free: 260 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.001213/0.5013, allocations: 1.103 MB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.5015, allocations: 51.48 kB / 0.5607 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5015, allocations: 0 / 0.5607 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.5015, allocations: 33.66 kB / 0.5608 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5018, allocations: 26.8 kB / 0.5608 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.5024, allocations: 223.7 kB / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.5027, allocations: 0.7113 MB / 0.5617 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.5028, allocations: 20.53 kB / 0.5617 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.5029, allocations: 36.3 kB / 0.5618 GB, free: 14.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5029, allocations: 3.938 kB / 0.5618 GB, free: 14.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5262, allocations: 2.717 MB / 0.5644 GB, free: 11.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.5264, allocations: 158.5 kB / 0.5646 GB, free: 11.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.101, allocations: 7.938 kB / 0.5646 GB, free: 11.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat