Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001233/0.001233, allocations: 180.9 kB / 8.006 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.479/1.479, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009908/0.0009907, allocations: 90.3 kB / 261.8 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.1932/0.1932, allocations: 43.48 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.074e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4509, allocations: 86.91 MB / 0.5509 GB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.4511, allocations: 74.88 kB / 0.551 GB, free: 7.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4637, allocations: 5.352 MB / 0.5562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4638, allocations: 0 / 0.5562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4638, allocations: 4 kB / 0.5562 GB, free: 3.422 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.0003301/0.4641, allocations: 401.5 kB / 0.5566 GB, free: 2.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4642, allocations: 15.97 kB / 0.5566 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.4642, allocations: 19.81 kB / 0.5566 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4644, allocations: 217.3 kB / 0.5568 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4645, allocations: 4 kB / 0.5568 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4645, allocations: 0 / 0.5568 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.17e-05/0.4645, allocations: 18.94 kB / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.4646, allocations: 51.98 kB / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4646, allocations: 0 / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4647, allocations: 0 / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4647, allocations: 7.984 kB / 0.5569 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.4649, allocations: 280.2 kB / 0.5572 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.465, allocations: 50.69 kB / 0.5572 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.4651, allocations: 15.98 kB / 0.5572 GB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.4651, allocations: 0 / 0.5572 GB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.4652, allocations: 76.52 kB / 0.5573 GB, free: 2.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4652, allocations: 0 / 0.5573 GB, free: 2.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000348/0.4655, allocations: 147.8 kB / 0.5575 GB, free: 2.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.4656, allocations: 55.41 kB / 0.5575 GB, free: 2.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4657, allocations: 184.3 kB / 0.5577 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4657, allocations: 29.7 kB / 0.5577 GB, free: 1.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.4658, allocations: 103 kB / 0.5578 GB, free: 1.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.4658, allocations: 18.84 kB / 0.5578 GB, free: 1.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.4658, allocations: 4 kB / 0.5578 GB, free: 1.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.4658, allocations: 325.7 kB / 0.5581 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.4659, allocations: 19.44 kB / 0.5582 GB, free: 1.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.4659, allocations: 36.33 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.466, allocations: 18.62 kB / 0.5582 GB, free: 1.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.466, allocations: 0 / 0.5582 GB, free: 1.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001103/0.4661, allocations: 96.36 kB / 0.5583 GB, free: 1.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4661, allocations: 8.031 kB / 0.5583 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4661, allocations: 0 / 0.5583 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4661, allocations: 7.938 kB / 0.5583 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.4662, allocations: 15.98 kB / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.4662, allocations: 0 / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.4663, allocations: 7.938 kB / 0.5584 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.4663, allocations: 7.953 kB / 0.5584 GB, free: 1.195 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 4.8e-05/0.4663, allocations: 103.9 kB / 0.5585 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001074/0.4664, allocations: 98.08 kB / 0.5586 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.4665, allocations: 19.81 kB / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.4666, allocations: 112 kB / 0.5587 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4666, allocations: 7.938 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4667, allocations: 3.953 kB / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4667, allocations: 0 / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.467, allocations: 373.4 kB / 0.559 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.467, allocations: 8 kB / 0.5591 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.467, allocations: 15.97 kB / 0.5591 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.467, allocations: 0 / 0.5591 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.467, allocations: 7.984 kB / 0.5591 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.467, allocations: 3.953 kB / 0.5591 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.467, allocations: 0 / 0.5591 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4672, allocations: 215.1 kB / 0.5593 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4672, allocations: 99.8 kB / 0.5594 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4673, allocations: 7.938 kB / 0.5594 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.4673, allocations: 4 kB / 0.5594 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.4674, allocations: 4 kB / 0.5594 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4674, allocations: 11.61 kB / 0.5594 GB, free: 120 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.4675, allocations: 149.6 kB / 0.5595 GB, free: 16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4675, allocations: 4 kB / 0.5596 GB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.4678, allocations: 24 kB / 0.5596 GB, free: 15.97 MB / 378.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.001193/0.469, allocations: 1.106 MB / 0.5607 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.4691, allocations: 55.8 kB / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4691, allocations: 0 / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.4692, allocations: 26.31 kB / 0.5607 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4694, allocations: 23.55 kB / 0.5608 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.4699, allocations: 241.2 kB / 0.561 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.4702, allocations: 0.7158 MB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.4703, allocations: 8.562 kB / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.4704, allocations: 41.91 kB / 0.5617 GB, free: 13.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4704, allocations: 4 kB / 0.5617 GB, free: 13.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4921, allocations: 2.794 MB / 0.5645 GB, free: 11.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.4923, allocations: 169.9 kB / 0.5646 GB, free: 10.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.028, allocations: 0 / 0.5646 GB, free: 10.82 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat