Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.0009737/0.0009738, allocations: 176.7 kB / 8.008 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.66/1.66, 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.0008047/0.0008045, allocations: 90.19 kB / 261.7 MB, free: 1.691 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.2198/0.2198, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.162e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 58.84 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5803, allocations: 86.97 MB / 0.551 GB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5806, allocations: 80.39 kB / 0.551 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5936, allocations: 5.64 MB / 0.5565 GB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5937, allocations: 0 / 0.5565 GB, free: 3.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5937, allocations: 3.938 kB / 0.5565 GB, free: 3.18 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.0003735/0.5941, allocations: 413.6 kB / 0.5569 GB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5941, allocations: 11.97 kB / 0.557 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.5942, allocations: 19.64 kB / 0.557 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.5945, allocations: 224.9 kB / 0.5572 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5945, allocations: 3.984 kB / 0.5572 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.5945, allocations: 4 kB / 0.5572 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.369e-05/0.5946, allocations: 14.75 kB / 0.5572 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.5947, allocations: 49.11 kB / 0.5573 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5947, allocations: 0 / 0.5573 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5947, allocations: 0 / 0.5573 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5947, allocations: 3.984 kB / 0.5573 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.5951, allocations: 298.3 kB / 0.5575 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.5952, allocations: 49.06 kB / 0.5576 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.5952, allocations: 16.05 kB / 0.5576 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.5952, allocations: 3.312 kB / 0.5576 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.5953, allocations: 65.8 kB / 0.5577 GB, free: 1.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.5953, allocations: 4 kB / 0.5577 GB, free: 1.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003859/0.5957, allocations: 153 kB / 0.5578 GB, free: 1.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.5958, allocations: 59.34 kB / 0.5579 GB, free: 1.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.596, allocations: 236.3 kB / 0.5581 GB, free: 1.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.596, allocations: 25.7 kB / 0.5581 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.596, allocations: 109 kB / 0.5582 GB, free: 1.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.596, allocations: 27.27 kB / 0.5583 GB, free: 1.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5961, allocations: 0 / 0.5583 GB, free: 1.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.5961, allocations: 326 kB / 0.5586 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.5962, allocations: 26.62 kB / 0.5586 GB, free: 1.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.5962, allocations: 34.27 kB / 0.5586 GB, free: 1.027 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.5962, allocations: 19.44 kB / 0.5586 GB, free: 1.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5962, allocations: 0 / 0.5586 GB, free: 1.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001163/0.5964, allocations: 94.36 kB / 0.5587 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5964, allocations: 8 kB / 0.5587 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5964, allocations: 0 / 0.5587 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5964, allocations: 32 / 0.5587 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.5965, allocations: 23.94 kB / 0.5588 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5965, allocations: 3.984 kB / 0.5588 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.5966, allocations: 192 / 0.5588 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5966, allocations: 15.45 kB / 0.5588 GB, free: 0.8828 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.596e-05/0.5967, allocations: 105 kB / 0.5589 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001161/0.5968, allocations: 102.1 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.5968, allocations: 15.81 kB / 0.559 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.597, allocations: 112.2 kB / 0.5591 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.597, allocations: 4 kB / 0.5591 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.597, allocations: 3.953 kB / 0.5591 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.597, allocations: 3.938 kB / 0.5591 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.5974, allocations: 393.5 kB / 0.5595 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5974, allocations: 4 kB / 0.5595 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.5974, allocations: 11.94 kB / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5974, allocations: 0 / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5974, allocations: 3.984 kB / 0.5595 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5975, allocations: 11.98 kB / 0.5595 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5975, allocations: 288 / 0.5595 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.5977, allocations: 215.9 kB / 0.5597 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.5977, allocations: 103.5 kB / 0.5598 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.5978, allocations: 3.953 kB / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.5979, allocations: 11.94 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.5979, allocations: 7.984 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5979, allocations: 7.375 kB / 0.5599 GB, free: 15.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.5981, allocations: 186.2 kB / 0.56 GB, free: 15.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5981, allocations: 0 / 0.56 GB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.5983, allocations: 31.94 kB / 0.5601 GB, free: 15.6 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.001266/0.5996, allocations: 1.109 MB / 0.5611 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5998, allocations: 49.38 kB / 0.5612 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5998, allocations: 7.188 kB / 0.5612 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.5998, allocations: 26.62 kB / 0.5612 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.6001, allocations: 22.59 kB / 0.5612 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.6007, allocations: 287.8 kB / 0.5615 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.601, allocations: 0.7238 MB / 0.5622 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.601, allocations: 16.56 kB / 0.5622 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.6011, allocations: 47.28 kB / 0.5623 GB, free: 13.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6011, allocations: 0 / 0.5623 GB, free: 13.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6244, allocations: 3.07 MB / 0.5653 GB, free: 10.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.6247, allocations: 166.5 kB / 0.5654 GB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.171, allocations: 0 / 0.5654 GB, free: 10.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat