Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001197/0.001197, allocations: 174.9 kB / 8.004 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.615/1.615, 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.0009579/0.0009578, allocations: 82.66 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.2178/0.2178, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.302e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5719, allocations: 87.2 MB / 0.5512 GB, free: 7.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.5722, allocations: 68.75 kB / 0.5513 GB, free: 7.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.5873, allocations: 5.894 MB / 0.557 GB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5874, allocations: 0 / 0.557 GB, free: 2.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5874, allocations: 7.594 kB / 0.557 GB, free: 2.941 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004068/0.5878, allocations: 390.6 kB / 0.5574 GB, free: 2.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5878, allocations: 8.031 kB / 0.5574 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.5879, allocations: 7.906 kB / 0.5574 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.5882, allocations: 225.2 kB / 0.5576 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5882, allocations: 0 / 0.5576 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.5882, allocations: 4 kB / 0.5576 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.814e-05/0.5883, allocations: 31.42 kB / 0.5577 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5884, allocations: 69.64 kB / 0.5577 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5885, allocations: 3.984 kB / 0.5577 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5885, allocations: 0 / 0.5577 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.5885, allocations: 7.938 kB / 0.5577 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.5888, allocations: 274 kB / 0.558 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.589, allocations: 68.12 kB / 0.5581 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.589, allocations: 24.42 kB / 0.5581 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.589, allocations: 0 / 0.5581 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.5892, allocations: 81.3 kB / 0.5582 GB, free: 1.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5892, allocations: 4 kB / 0.5582 GB, free: 1.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004586/0.5897, allocations: 160.8 kB / 0.5583 GB, free: 1.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5897, allocations: 85.11 kB / 0.5584 GB, free: 1.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.5898, allocations: 145.2 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5899, allocations: 29.69 kB / 0.5586 GB, free: 1.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.5899, allocations: 102.9 kB / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5899, allocations: 27.45 kB / 0.5587 GB, free: 1.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5899, allocations: 0 / 0.5587 GB, free: 1.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.59, allocations: 321 kB / 0.559 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.59, allocations: 22.38 kB / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.5901, allocations: 45.19 kB / 0.5591 GB, free: 0.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.5901, allocations: 31.48 kB / 0.5591 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5901, allocations: 0 / 0.5591 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001294/0.5903, allocations: 101.5 kB / 0.5592 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5903, allocations: 4 kB / 0.5592 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5903, allocations: 0 / 0.5592 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5903, allocations: 0 / 0.5592 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.5904, allocations: 27.98 kB / 0.5592 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5904, allocations: 3.938 kB / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.5905, allocations: 7.953 kB / 0.5592 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5905, allocations: 10.98 kB / 0.5592 GB, free: 0.6328 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 (11): * Single equations (assignments): 11 * 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.811e-05/0.5906, allocations: 102.4 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001322/0.5907, allocations: 110 kB / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.5907, allocations: 11.91 kB / 0.5594 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.591, allocations: 119.8 kB / 0.5596 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.591, allocations: 8.281 kB / 0.5596 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.591, allocations: 3.953 kB / 0.5596 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.591, allocations: 7.969 kB / 0.5596 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.5914, allocations: 403.1 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5914, allocations: 0 / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.5915, allocations: 12 kB / 0.56 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5915, allocations: 0 / 0.56 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5915, allocations: 11.08 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5915, allocations: 4.031 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5915, allocations: 3.938 kB / 0.56 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5918, allocations: 229 kB / 0.5602 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.5919, allocations: 92.25 kB / 0.5603 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.5919, allocations: 3.953 kB / 0.5603 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.592, allocations: 4 kB / 0.5603 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.592, allocations: 15.36 kB / 0.5603 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.592, allocations: 4 kB / 0.5603 GB, free: 15.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.5922, allocations: 125.2 kB / 0.5604 GB, free: 15.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5922, allocations: 0 / 0.5604 GB, free: 15.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.5925, allocations: 31.98 kB / 0.5605 GB, free: 15.38 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 (11): * Single equations (assignments): 9 * 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.001519/0.594, allocations: 1.168 MB / 0.5616 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.5942, allocations: 72.42 kB / 0.5617 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5942, allocations: 0 / 0.5617 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.5943, allocations: 38.25 kB / 0.5617 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.5945, allocations: 27.48 kB / 0.5618 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.5951, allocations: 211.8 kB / 0.562 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5954, allocations: 0.7041 MB / 0.5626 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.5954, allocations: 24.86 kB / 0.5627 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.5955, allocations: 40.36 kB / 0.5627 GB, free: 13.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5955, allocations: 3.938 kB / 0.5627 GB, free: 13.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.6194, allocations: 2.956 MB / 0.5656 GB, free: 10.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.6197, allocations: 163.1 kB / 0.5657 GB, free: 10.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.134, allocations: 3.938 kB / 0.5658 GB, free: 10.01 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat