Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.001092/0.001092, allocations: 177.6 kB / 8.002 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.467/1.467, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0007984/0.0007985, allocations: 94.08 kB / 261.7 MB, free: 1.676 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.2047/0.2047, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.441e-05, allocations: 11.98 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4933, allocations: 86.93 MB / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.4937, allocations: 75.75 kB / 0.551 GB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5063, allocations: 5.231 MB / 0.5561 GB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5063, allocations: 0 / 0.5561 GB, free: 3.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.5063, allocations: 3.938 kB / 0.5561 GB, free: 3.566 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.0003429/0.5067, allocations: 398.2 kB / 0.5565 GB, free: 3.141 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5067, allocations: 8.031 kB / 0.5565 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.5068, allocations: 11.91 kB / 0.5565 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.507, allocations: 222.3 kB / 0.5567 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.507, allocations: 0 / 0.5567 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.507, allocations: 3.938 kB / 0.5567 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.151e-05/0.5071, allocations: 19.8 kB / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.983e-05/0.5072, allocations: 49.31 kB / 0.5568 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5072, allocations: 0 / 0.5568 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5072, allocations: 7.984 kB / 0.5568 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5072, allocations: 0 / 0.5568 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.5075, allocations: 264.7 kB / 0.557 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.5076, allocations: 50.38 kB / 0.5571 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.5076, allocations: 16.8 kB / 0.5571 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.5076, allocations: 11.94 kB / 0.5571 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.5077, allocations: 59.08 kB / 0.5572 GB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.5077, allocations: 0 / 0.5572 GB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003428/0.5081, allocations: 163.7 kB / 0.5573 GB, free: 2.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.5081, allocations: 55.34 kB / 0.5574 GB, free: 2.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5082, allocations: 167.3 kB / 0.5575 GB, free: 2.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.5083, allocations: 29.7 kB / 0.5576 GB, free: 1.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.5083, allocations: 103 kB / 0.5577 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.5083, allocations: 27.58 kB / 0.5577 GB, free: 1.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.5083, allocations: 0 / 0.5577 GB, free: 1.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.5084, allocations: 322.8 kB / 0.558 GB, free: 1.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.5084, allocations: 15.44 kB / 0.558 GB, free: 1.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.5085, allocations: 29.53 kB / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.5085, allocations: 23.73 kB / 0.5581 GB, free: 1.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5085, allocations: 3.938 kB / 0.5581 GB, free: 1.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000108/0.5086, allocations: 92.94 kB / 0.5582 GB, free: 1.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.5086, allocations: 4 kB / 0.5582 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5086, allocations: 0 / 0.5582 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5087, allocations: 0 / 0.5582 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.5088, allocations: 19.98 kB / 0.5582 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5088, allocations: 3.938 kB / 0.5582 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.5088, allocations: 3.984 kB / 0.5582 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.5088, allocations: 11.83 kB / 0.5582 GB, free: 1.383 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.579e-05/0.5089, allocations: 105 kB / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001066/0.509, allocations: 93.02 kB / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.509, allocations: 11.81 kB / 0.5584 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.5092, allocations: 117.4 kB / 0.5585 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5092, allocations: 4 kB / 0.5585 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5092, allocations: 3.953 kB / 0.5585 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5092, allocations: 0 / 0.5585 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.5095, allocations: 371.8 kB / 0.5589 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5095, allocations: 8.031 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.5096, allocations: 11.31 kB / 0.5589 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5096, allocations: 0 / 0.5589 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5096, allocations: 0 / 0.5589 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5096, allocations: 7.953 kB / 0.5589 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5096, allocations: 3.984 kB / 0.5589 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5097, allocations: 215 kB / 0.5591 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.5098, allocations: 88.92 kB / 0.5592 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.5098, allocations: 11.02 kB / 0.5592 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.5099, allocations: 7.922 kB / 0.5592 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.5099, allocations: 4 kB / 0.5592 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.5099, allocations: 7.938 kB / 0.5592 GB, free: 328 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.51, allocations: 133.9 kB / 0.5594 GB, free: 212 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.51, allocations: 4 kB / 0.5594 GB, free: 208 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.5103, allocations: 23.19 kB / 0.5594 GB, free: 188 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.001174/0.5114, allocations: 1.11 MB / 0.5605 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5116, allocations: 50.19 kB / 0.5605 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5116, allocations: 0 / 0.5605 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.5116, allocations: 30.48 kB / 0.5605 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.5119, allocations: 23.36 kB / 0.5606 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.5124, allocations: 222.2 kB / 0.5608 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5127, allocations: 0.7111 MB / 0.5615 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.5128, allocations: 16.55 kB / 0.5615 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.5128, allocations: 37.42 kB / 0.5615 GB, free: 14.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5128, allocations: 0 / 0.5615 GB, free: 14.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.5355, allocations: 2.649 MB / 0.5641 GB, free: 11.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.5358, allocations: 162.5 kB / 0.5643 GB, free: 11.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.017, allocations: 0 / 0.5643 GB, free: 11.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat