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.001078/0.001078, allocations: 183 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.753/1.753, 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.0008664/0.0008664, allocations: 82.62 kB / 267 MB, free: 9.273 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.4653/0.4653, allocations: 43.47 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.798e-05/4.839e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1604, allocations: 58.84 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6373, allocations: 87.62 MB / 0.5585 GB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6376, allocations: 75.95 kB / 0.5586 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.6538, allocations: 5.684 MB / 0.5641 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6538, allocations: 0 / 0.5641 GB, free: 11.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.6539, allocations: 4 kB / 0.5641 GB, free: 11.6 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.0006654/0.6545, allocations: 419.7 kB / 0.5645 GB, free: 11.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/0.6546, allocations: 12.03 kB / 0.5645 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.6547, allocations: 42.55 kB / 0.5646 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.6548, allocations: 19.23 kB / 0.5646 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.6552, allocations: 218.8 kB / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6552, allocations: 4 kB / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.6552, allocations: 0 / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6554, allocations: 53.62 kB / 0.5648 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6554, allocations: 0 / 0.5648 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.6554, allocations: 9.359 kB / 0.5648 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6554, allocations: 0 / 0.5648 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.6555, allocations: 24 kB / 0.5649 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.656, allocations: 309.6 kB / 0.5652 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.6562, allocations: 54.62 kB / 0.5652 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.6562, allocations: 21.48 kB / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.6563, allocations: 3.984 kB / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.6564, allocations: 75.31 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.6564, allocations: 0 / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.657, allocations: 166.4 kB / 0.5655 GB, free: 10.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.6571, allocations: 55.02 kB / 0.5655 GB, free: 9.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.6574, allocations: 238.8 kB / 0.5658 GB, free: 9.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.6574, allocations: 25.7 kB / 0.5658 GB, free: 9.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.6575, allocations: 112.1 kB / 0.5659 GB, free: 9.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.6576, allocations: 31.64 kB / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.6576, allocations: 0 / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6578, allocations: 326.8 kB / 0.5662 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.6578, allocations: 16 kB / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.6579, allocations: 34.31 kB / 0.5663 GB, free: 9.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.658, allocations: 23.98 kB / 0.5663 GB, free: 9.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.658, allocations: 4 kB / 0.5663 GB, free: 9.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.6581, allocations: 101.5 kB / 0.5664 GB, free: 9.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6582, allocations: 11.98 kB / 0.5664 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6582, allocations: 0 / 0.5664 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6582, allocations: 4.125 kB / 0.5664 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.6583, allocations: 12 kB / 0.5664 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6583, allocations: 11.89 kB / 0.5664 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.6584, allocations: 4 kB / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6584, allocations: 7.984 kB / 0.5664 GB, free: 8.984 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 9.295e-05/0.6585, allocations: 113.6 kB / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.6586, allocations: 15.81 kB / 0.5666 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.6588, allocations: 115.1 kB / 0.5667 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6588, allocations: 0 / 0.5667 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6588, allocations: 4 kB / 0.5667 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.6588, allocations: 3.953 kB / 0.5667 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.6594, allocations: 431.3 kB / 0.5671 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6594, allocations: 0 / 0.5671 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.6594, allocations: 12.03 kB / 0.5671 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.6595, allocations: 7.938 kB / 0.5671 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.6595, allocations: 3.953 kB / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6595, allocations: 0 / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6595, allocations: 4 kB / 0.5671 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.6598, allocations: 217.9 kB / 0.5673 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.6599, allocations: 108.8 kB / 0.5674 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.6599, allocations: 7.953 kB / 0.5674 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.66, allocations: 7.984 kB / 0.5675 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.66, allocations: 7.984 kB / 0.5675 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.66, allocations: 4 kB / 0.5675 GB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.6603, allocations: 197.5 kB / 0.5677 GB, free: 7.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6603, allocations: 0 / 0.5677 GB, free: 7.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.6606, allocations: 39.92 kB / 0.5677 GB, free: 7.602 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.00153/0.6621, allocations: 1.149 MB / 0.5688 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.6623, allocations: 59.92 kB / 0.5689 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6623, allocations: 0 / 0.5689 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.6624, allocations: 31.94 kB / 0.5689 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.6627, allocations: 21 kB / 0.5689 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.6635, allocations: 292.6 kB / 0.5692 GB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.6639, allocations: 0.716 MB / 0.5699 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.664, allocations: 24.55 kB / 0.5699 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.6641, allocations: 39.42 kB / 0.57 GB, free: 5.258 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6641, allocations: 3.938 kB / 0.57 GB, free: 5.254 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.6822, allocations: 3.448 MB / 0.5733 GB, free: 1.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.6825, allocations: 187.5 kB / 0.5735 GB, free: 1.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.31, allocations: 0 / 0.5735 GB, free: 1.613 MB / 394.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