Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.00112/0.00112, allocations: 177.5 kB / 8.007 MB, free: 1.066 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.478/1.478, 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.0008066/0.0008067, allocations: 82.62 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.1878/0.1878, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.7e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.487, allocations: 86.96 MB / 0.551 GB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.4872, allocations: 79.89 kB / 0.551 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.4994, allocations: 5.274 MB / 0.5562 GB, free: 3.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4994, allocations: 0 / 0.5562 GB, free: 3.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4995, allocations: 0 / 0.5562 GB, free: 3.523 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.000317/0.4998, allocations: 405.1 kB / 0.5566 GB, free: 3.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4998, allocations: 8.031 kB / 0.5566 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.4999, allocations: 11.91 kB / 0.5566 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.5001, allocations: 205.3 kB / 0.5568 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5001, allocations: 7.984 kB / 0.5568 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.5001, allocations: 4 kB / 0.5568 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.49e-05/0.5002, allocations: 19.62 kB / 0.5568 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/0.5003, allocations: 52.55 kB / 0.5569 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5003, allocations: 3.984 kB / 0.5569 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.5003, allocations: 0 / 0.5569 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5004, allocations: 0 / 0.5569 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.5006, allocations: 274 kB / 0.5571 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/0.5007, allocations: 56.69 kB / 0.5572 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.5008, allocations: 20.48 kB / 0.5572 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.5008, allocations: 0 / 0.5572 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.527e-05/0.5009, allocations: 66.7 kB / 0.5573 GB, free: 2.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.5009, allocations: 3.938 kB / 0.5573 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003462/0.5012, allocations: 143.8 kB / 0.5574 GB, free: 2.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.5013, allocations: 55.41 kB / 0.5575 GB, free: 2.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5014, allocations: 157.2 kB / 0.5576 GB, free: 2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.5014, allocations: 25.7 kB / 0.5576 GB, free: 1.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.5014, allocations: 99.81 kB / 0.5577 GB, free: 1.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.5014, allocations: 27.58 kB / 0.5578 GB, free: 1.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.5015, allocations: 0 / 0.5578 GB, free: 1.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.5015, allocations: 322.6 kB / 0.5581 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.5015, allocations: 23.44 kB / 0.5581 GB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.5016, allocations: 32.84 kB / 0.5581 GB, free: 1.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.5016, allocations: 19.73 kB / 0.5581 GB, free: 1.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5016, allocations: 0 / 0.5581 GB, free: 1.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.5017, allocations: 96.61 kB / 0.5582 GB, free: 1.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5018, allocations: 4 kB / 0.5582 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5018, allocations: 0 / 0.5582 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5018, allocations: 4 kB / 0.5582 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.5019, allocations: 15.98 kB / 0.5583 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.5019, allocations: 4.031 kB / 0.5583 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.5019, allocations: 4 kB / 0.5583 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.502, allocations: 4.109 kB / 0.5583 GB, free: 1.359 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.581e-05/0.502, allocations: 108.9 kB / 0.5584 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001071/0.5021, allocations: 96.56 kB / 0.5585 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.5021, allocations: 11.81 kB / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.5023, allocations: 108.5 kB / 0.5586 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5023, allocations: 4 kB / 0.5586 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5023, allocations: 7.953 kB / 0.5586 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5023, allocations: 0 / 0.5586 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.5026, allocations: 365.8 kB / 0.5589 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5026, allocations: 0 / 0.5589 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.5027, allocations: 11.98 kB / 0.5589 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5027, allocations: 4 kB / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.5027, allocations: 3.938 kB / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5027, allocations: 3.953 kB / 0.559 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5027, allocations: 0 / 0.559 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.5028, allocations: 213.4 kB / 0.5592 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.5029, allocations: 100.6 kB / 0.5593 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5029, allocations: 4.047 kB / 0.5593 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.503, allocations: 7.938 kB / 0.5593 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.503, allocations: 7.984 kB / 0.5593 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.503, allocations: 4 kB / 0.5593 GB, free: 304 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.5031, allocations: 131.2 kB / 0.5594 GB, free: 192 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5031, allocations: 0 / 0.5594 GB, free: 192 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.5034, allocations: 31.86 kB / 0.5594 GB, free: 160 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.001283/0.5047, allocations: 1.1 MB / 0.5605 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.5048, allocations: 59.05 kB / 0.5606 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5048, allocations: 0 / 0.5606 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.5049, allocations: 27.81 kB / 0.5606 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.5052, allocations: 19.8 kB / 0.5606 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.5057, allocations: 207.3 kB / 0.5608 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.506, allocations: 0.7081 MB / 0.5615 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.506, allocations: 12.55 kB / 0.5615 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.5061, allocations: 34.36 kB / 0.5615 GB, free: 14.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5061, allocations: 0 / 0.5615 GB, free: 14.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.5266, allocations: 2.579 MB / 0.5641 GB, free: 11.46 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.5269, allocations: 166.2 kB / 0.5642 GB, free: 11.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.021, allocations: 7.906 kB / 0.5642 GB, free: 11.26 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat