Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001682/0.001682, allocations: 183.2 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.872/1.872, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009791/0.0009789, allocations: 96.75 kB / 267.1 MB, free: 9.27 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.5098/0.5098, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.559e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6429, allocations: 87.62 MB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.6432, allocations: 72.3 kB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.6592, allocations: 5.679 MB / 0.5641 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6592, allocations: 0 / 0.5641 GB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.6593, allocations: 4 kB / 0.5641 GB, free: 13.1 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.0004786/0.6597, allocations: 422 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6598, allocations: 12.03 kB / 0.5645 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.6599, allocations: 34.56 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.6599, allocations: 19.23 kB / 0.5646 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.6602, allocations: 224.8 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6603, allocations: 3.188 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.6603, allocations: 4 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6604, allocations: 59 kB / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6605, allocations: 0 / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6605, allocations: 5.359 kB / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.6605, allocations: 4 kB / 0.5649 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.6606, allocations: 23.11 kB / 0.5649 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.661, allocations: 306.5 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6611, allocations: 59.34 kB / 0.5652 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.6612, allocations: 16.36 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.6612, allocations: 4 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.6614, allocations: 69.98 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.6614, allocations: 0 / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.6619, allocations: 168.1 kB / 0.5655 GB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.6619, allocations: 54.91 kB / 0.5655 GB, free: 11.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.6621, allocations: 232.7 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6622, allocations: 32.89 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.6622, allocations: 109.8 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.6623, allocations: 30.58 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6623, allocations: 3.688 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.6624, allocations: 325.8 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.6624, allocations: 15.56 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.6625, allocations: 39.95 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.6625, allocations: 23.42 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6625, allocations: 0 / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001406/0.6627, allocations: 103.9 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6627, allocations: 8 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6627, allocations: 160 / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6627, allocations: 5.109 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.6628, allocations: 12 kB / 0.5664 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6629, allocations: 11.94 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.6629, allocations: 3.625 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6629, allocations: 4 kB / 0.5664 GB, free: 10.7 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 6.109e-05/0.663, allocations: 118.1 kB / 0.5666 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.663, allocations: 15.81 kB / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.6632, allocations: 116.8 kB / 0.5667 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6633, allocations: 96 / 0.5667 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6633, allocations: 3.938 kB / 0.5667 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6633, allocations: 7.953 kB / 0.5667 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.6637, allocations: 428.9 kB / 0.5671 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6637, allocations: 0 / 0.5671 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.6638, allocations: 16.16 kB / 0.5671 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6638, allocations: 4 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6638, allocations: 11.27 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6638, allocations: 0 / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6639, allocations: 0 / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.6641, allocations: 223.6 kB / 0.5673 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.6642, allocations: 104.3 kB / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.6642, allocations: 7.953 kB / 0.5674 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.6643, allocations: 7.172 kB / 0.5675 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.6643, allocations: 4 kB / 0.5675 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6643, allocations: 4 kB / 0.5675 GB, free: 9.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.6645, allocations: 196.4 kB / 0.5677 GB, free: 9.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6645, allocations: 0 / 0.5677 GB, free: 9.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.6648, allocations: 45.92 kB / 0.5677 GB, free: 9.445 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.001254/0.6661, allocations: 1.137 MB / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.6662, allocations: 58.3 kB / 0.5689 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6662, allocations: 0 / 0.5689 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.6663, allocations: 31.12 kB / 0.5689 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.6666, allocations: 28.05 kB / 0.5689 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.6672, allocations: 292.2 kB / 0.5692 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.6673, allocations: 0.726 MB / 0.5699 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.546e-05/0.6674, allocations: 28.84 kB / 0.5699 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.6675, allocations: 43.17 kB / 0.57 GB, free: 7.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6675, allocations: 0 / 0.57 GB, free: 7.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.6826, allocations: 3.446 MB / 0.5733 GB, free: 3.789 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6828, allocations: 179.6 kB / 0.5735 GB, free: 3.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.272, allocations: 0 / 0.5735 GB, free: 3.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat