Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.00168/0.00168, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008866, allocations: 89.52 kB / 267 MB, free: 9.281 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.4103/0.4103, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.512e-05/4.54e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1543, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6351, allocations: 87.62 MB / 0.5585 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.6355, allocations: 75.53 kB / 0.5586 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.6497, allocations: 5.345 MB / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6497, allocations: 0 / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.6497, allocations: 4 kB / 0.5638 GB, free: 13.36 MB / 394.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.0004264/0.6502, allocations: 399.5 kB / 0.5642 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6502, allocations: 13.62 kB / 0.5642 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.6503, allocations: 33.69 kB / 0.5642 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.6503, allocations: 11.34 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.6506, allocations: 217.6 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.6506, allocations: 8.297 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.6506, allocations: 0 / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.6508, allocations: 63.86 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6508, allocations: 4 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.6508, allocations: 1.375 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6508, allocations: 0 / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.6509, allocations: 20.42 kB / 0.5645 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.6513, allocations: 285.4 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6514, allocations: 62.64 kB / 0.5648 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.6514, allocations: 20.92 kB / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.6515, allocations: 0 / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.6516, allocations: 68.62 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6516, allocations: 0 / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004408/0.652, allocations: 164.4 kB / 0.5651 GB, free: 12.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.6521, allocations: 55.39 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.6522, allocations: 172.2 kB / 0.5653 GB, free: 11.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.6522, allocations: 28.95 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.6523, allocations: 103.8 kB / 0.5654 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.6523, allocations: 19.09 kB / 0.5655 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.6523, allocations: 3.5 kB / 0.5655 GB, free: 11.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.6524, allocations: 322 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.6524, allocations: 19.5 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.6525, allocations: 42.67 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.6525, allocations: 22.69 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6525, allocations: 0 / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001267/0.6527, allocations: 97.86 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6527, allocations: 8 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6527, allocations: 0 / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.6527, allocations: 3.938 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.6528, allocations: 19.48 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6528, allocations: 3.953 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.6529, allocations: 12.02 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6529, allocations: 4 kB / 0.566 GB, free: 11.15 MB / 394.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 7.554e-05/0.653, allocations: 111.2 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.653, allocations: 7.906 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6532, allocations: 122.9 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6532, allocations: 0 / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6532, allocations: 1.312 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6533, allocations: 3.953 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.6536, allocations: 413.9 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6536, allocations: 0 / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.6537, allocations: 12 kB / 0.5666 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6537, allocations: 7.922 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6537, allocations: 4.141 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6537, allocations: 4 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6537, allocations: 4 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.6539, allocations: 219.9 kB / 0.5669 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.654, allocations: 92.94 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.654, allocations: 7.578 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.6541, allocations: 4 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.6541, allocations: 7.984 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.6541, allocations: 7.5 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.248e-05/0.6542, allocations: 133 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6542, allocations: 4 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.6545, allocations: 35.48 kB / 0.5671 GB, free: 9.977 MB / 394.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.001337/0.6558, allocations: 1.132 MB / 0.5682 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.656, allocations: 61.73 kB / 0.5683 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.656, allocations: 0 / 0.5683 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.6561, allocations: 34.3 kB / 0.5683 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.6564, allocations: 27.06 kB / 0.5684 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.6569, allocations: 229.9 kB / 0.5686 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.6571, allocations: 0.7082 MB / 0.5693 GB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.6572, allocations: 12.86 kB / 0.5693 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.6572, allocations: 40.73 kB / 0.5693 GB, free: 7.805 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6572, allocations: 3.938 kB / 0.5693 GB, free: 7.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.6716, allocations: 3.008 MB / 0.5723 GB, free: 4.828 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.6718, allocations: 183.6 kB / 0.5724 GB, free: 4.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.278, allocations: 0 / 0.5724 GB, free: 4.605 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat