Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001216/0.001216, 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.518/1.518, 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.0008887/0.0008885, allocations: 90.09 kB / 261.7 MB, free: 1.668 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.2122/0.2122, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.142e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 58.87 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5424, allocations: 86.95 MB / 0.5509 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.5426, allocations: 74.19 kB / 0.551 GB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5552, allocations: 5.63 MB / 0.5565 GB, free: 3.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5553, allocations: 0 / 0.5565 GB, free: 3.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5553, allocations: 7.938 kB / 0.5565 GB, free: 3.164 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.0003701/0.5557, allocations: 415 kB / 0.5569 GB, free: 2.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5557, allocations: 8.031 kB / 0.5569 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.5558, allocations: 11.91 kB / 0.5569 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.556, allocations: 230.2 kB / 0.5572 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5561, allocations: 0 / 0.5572 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.5561, allocations: 4 kB / 0.5572 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.208e-05/0.5562, allocations: 11.81 kB / 0.5572 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.99e-05/0.5563, allocations: 57.3 kB / 0.5572 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5563, allocations: 3.938 kB / 0.5572 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5563, allocations: 0 / 0.5572 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5563, allocations: 4 kB / 0.5572 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.5566, allocations: 288.4 kB / 0.5575 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.5567, allocations: 50.44 kB / 0.5576 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5568, allocations: 20.61 kB / 0.5576 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.5568, allocations: 0 / 0.5576 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.5569, allocations: 66.92 kB / 0.5576 GB, free: 1.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5569, allocations: 0 / 0.5576 GB, free: 1.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003818/0.5573, allocations: 163.9 kB / 0.5578 GB, free: 1.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.5573, allocations: 55.34 kB / 0.5579 GB, free: 1.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.5575, allocations: 236.2 kB / 0.5581 GB, free: 1.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5575, allocations: 29.7 kB / 0.5581 GB, free: 1.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.5576, allocations: 111.3 kB / 0.5582 GB, free: 1.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.5576, allocations: 23.47 kB / 0.5582 GB, free: 1.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5576, allocations: 0 / 0.5582 GB, free: 1.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.5577, allocations: 326.5 kB / 0.5585 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.5577, allocations: 23.67 kB / 0.5586 GB, free: 1.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.5578, allocations: 33.34 kB / 0.5586 GB, free: 1.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.5578, allocations: 27.61 kB / 0.5586 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5578, allocations: 0 / 0.5586 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001114/0.5579, allocations: 89 kB / 0.5587 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.558, allocations: 4 kB / 0.5587 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.558, allocations: 0 / 0.5587 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.558, allocations: 0 / 0.5587 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.5581, allocations: 23.92 kB / 0.5587 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5581, allocations: 0 / 0.5587 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.5581, allocations: 4 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.5581, allocations: 3.953 kB / 0.5587 GB, free: 0.8789 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.648e-05/0.5582, allocations: 112.7 kB / 0.5589 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001104/0.5583, allocations: 100.9 kB / 0.5589 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.5583, allocations: 15.75 kB / 0.559 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.5585, allocations: 112.8 kB / 0.5591 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5585, allocations: 96 / 0.5591 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5585, allocations: 7.891 kB / 0.5591 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5585, allocations: 4 kB / 0.5591 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.5588, allocations: 399 kB / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5588, allocations: 0 / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.5589, allocations: 18.86 kB / 0.5595 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5589, allocations: 0 / 0.5595 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5589, allocations: 4 kB / 0.5595 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.5589, allocations: 3.953 kB / 0.5595 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5589, allocations: 3.984 kB / 0.5595 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.5591, allocations: 218.1 kB / 0.5597 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.5592, allocations: 100.4 kB / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.5592, allocations: 7.953 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.5593, allocations: 3.938 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.5593, allocations: 11.92 kB / 0.5598 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5594, allocations: 4 kB / 0.5598 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.5595, allocations: 186.5 kB / 0.56 GB, free: 15.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5595, allocations: 0 / 0.56 GB, free: 15.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.5598, allocations: 39.92 kB / 0.56 GB, free: 15.59 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.001137/0.5609, allocations: 1.105 MB / 0.5611 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.561, allocations: 50.25 kB / 0.5612 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.561, allocations: 64 / 0.5612 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.5611, allocations: 38.23 kB / 0.5612 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5614, allocations: 19.8 kB / 0.5612 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.5619, allocations: 281.5 kB / 0.5615 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.5621, allocations: 0.7272 MB / 0.5622 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.5622, allocations: 20.61 kB / 0.5622 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.5623, allocations: 44.67 kB / 0.5623 GB, free: 13.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5623, allocations: 0 / 0.5623 GB, free: 13.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.5849, allocations: 3.066 MB / 0.5653 GB, free: 10.31 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.5852, allocations: 161.3 kB / 0.5654 GB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.218, allocations: 3.938 kB / 0.5654 GB, free: 10.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat