Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001791/0.001792, allocations: 182.9 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.664/1.664, 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.0009833/0.0009831, allocations: 86.59 kB / 267 MB, free: 9.277 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.4041/0.4041, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.914e-05, allocations: 4 kB / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5146, allocations: 87.62 MB / 0.5585 GB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5148, allocations: 76.73 kB / 0.5585 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.5298, allocations: 5.48 MB / 0.5639 GB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5298, allocations: 4 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5298, allocations: 7.281 kB / 0.5639 GB, free: 11.8 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.0005448/0.5304, allocations: 404.7 kB / 0.5643 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5304, allocations: 12.03 kB / 0.5643 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.5305, allocations: 30.56 kB / 0.5643 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.5305, allocations: 15.25 kB / 0.5643 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.5309, allocations: 220 kB / 0.5646 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.5309, allocations: 4 kB / 0.5646 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.5309, allocations: 4 kB / 0.5646 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.5311, allocations: 57.67 kB / 0.5646 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5311, allocations: 0 / 0.5646 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5311, allocations: 1.375 kB / 0.5646 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5311, allocations: 4 kB / 0.5646 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.5312, allocations: 12 kB / 0.5646 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.5316, allocations: 304.8 kB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5317, allocations: 54.62 kB / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.5318, allocations: 20.98 kB / 0.565 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5318, allocations: 4 kB / 0.565 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.532, allocations: 67.3 kB / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.532, allocations: 0 / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000459/0.5324, allocations: 174.4 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5325, allocations: 55.41 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.5327, allocations: 195.8 kB / 0.5655 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.5327, allocations: 25.7 kB / 0.5655 GB, free: 9.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.5328, allocations: 100.1 kB / 0.5656 GB, free: 9.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.5328, allocations: 23.7 kB / 0.5656 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.5329, allocations: 4 kB / 0.5656 GB, free: 9.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.533, allocations: 318.8 kB / 0.5659 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.533, allocations: 23.94 kB / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.5331, allocations: 42.36 kB / 0.566 GB, free: 9.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.5331, allocations: 20.7 kB / 0.566 GB, free: 9.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5331, allocations: 0 / 0.566 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001508/0.5333, allocations: 105.5 kB / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5333, allocations: 4 kB / 0.5661 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5333, allocations: 80 / 0.5661 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5334, allocations: 192 / 0.5661 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.5335, allocations: 16 kB / 0.5661 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5335, allocations: 15.86 kB / 0.5661 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.5335, allocations: 11.97 kB / 0.5662 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5336, allocations: 4 kB / 0.5662 GB, free: 9.277 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.244e-05/0.5336, allocations: 105.5 kB / 0.5663 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.5337, allocations: 11.91 kB / 0.5663 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.5339, allocations: 119.1 kB / 0.5664 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5339, allocations: 0 / 0.5664 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5339, allocations: 0 / 0.5664 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5339, allocations: 3.953 kB / 0.5664 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.5344, allocations: 423.2 kB / 0.5668 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5344, allocations: 0 / 0.5668 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.5344, allocations: 15.94 kB / 0.5668 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5344, allocations: 0 / 0.5668 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.5345, allocations: 7.891 kB / 0.5668 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5345, allocations: 0 / 0.5668 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5345, allocations: 4 kB / 0.5668 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.5347, allocations: 222 kB / 0.567 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.5348, allocations: 92.91 kB / 0.5671 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5348, allocations: 11.95 kB / 0.5671 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.5349, allocations: 7.984 kB / 0.5671 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.5349, allocations: 4 kB / 0.5671 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.5349, allocations: 192 / 0.5671 GB, free: 8.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.5351, allocations: 172.2 kB / 0.5673 GB, free: 7.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5351, allocations: 0 / 0.5673 GB, free: 7.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.5354, allocations: 32 kB / 0.5673 GB, free: 7.961 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.001431/0.5368, allocations: 1.144 MB / 0.5685 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.537, allocations: 59.97 kB / 0.5685 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.537, allocations: 0 / 0.5685 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.537, allocations: 31.94 kB / 0.5685 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5373, allocations: 29.11 kB / 0.5686 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.5379, allocations: 249.5 kB / 0.5688 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5382, allocations: 0.7082 MB / 0.5695 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.5383, allocations: 22.02 kB / 0.5695 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.5384, allocations: 43.42 kB / 0.5696 GB, free: 5.672 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5384, allocations: 0 / 0.5696 GB, free: 5.672 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.5533, allocations: 3.141 MB / 0.5726 GB, free: 2.562 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.5536, allocations: 187.6 kB / 0.5728 GB, free: 2.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.243, allocations: 0 / 0.5728 GB, free: 2.336 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat