Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.001277/0.001277, allocations: 181.9 kB / 13.19 MB, free: 2.121 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.744/1.744, allocations: 205.2 MB / 218.9 MB, free: 9.133 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.0008532/0.0008533, allocations: 86.77 kB / 267 MB, free: 9.258 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.4536/0.4536, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.207e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6427, allocations: 87.61 MB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.643, allocations: 71.39 kB / 0.5585 GB, free: 16.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.6578, allocations: 5.536 MB / 0.5639 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6578, allocations: 0.5469 kB / 0.5639 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.6579, allocations: 4 kB / 0.564 GB, free: 13.2 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.0004529/0.6583, allocations: 415 kB / 0.5643 GB, free: 12.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6584, allocations: 12.03 kB / 0.5644 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.6584, allocations: 33.94 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.6585, allocations: 23.25 kB / 0.5644 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.6588, allocations: 216.3 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6588, allocations: 4 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.6588, allocations: 0.875 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.6589, allocations: 58.98 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.659, allocations: 0 / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.659, allocations: 5.312 kB / 0.5647 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.659, allocations: 0 / 0.5647 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.659, allocations: 18.81 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.6594, allocations: 307.7 kB / 0.565 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.6595, allocations: 56.31 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.6596, allocations: 16.17 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.6596, allocations: 4.656 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.6597, allocations: 73.08 kB / 0.5651 GB, free: 11.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.6597, allocations: 0 / 0.5651 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004111/0.6601, allocations: 163.7 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.6602, allocations: 55.41 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.6603, allocations: 194 kB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6604, allocations: 33.02 kB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.6604, allocations: 111.8 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.6604, allocations: 27.27 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6605, allocations: 0 / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.6605, allocations: 329.6 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.6606, allocations: 23.36 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.6606, allocations: 32.22 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.6607, allocations: 28.86 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6607, allocations: 0 / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001288/0.6608, allocations: 92.28 kB / 0.5662 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6608, allocations: 4 kB / 0.5662 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6608, allocations: 4.031 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6608, allocations: 0 / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.661, allocations: 23.92 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.661, allocations: 3.953 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.661, allocations: 7.312 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.661, allocations: 0 / 0.5662 GB, free: 10.87 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 4.864e-05/0.6611, allocations: 108.5 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.6611, allocations: 15.81 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.6613, allocations: 120.3 kB / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6613, allocations: 0 / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6613, allocations: 0 / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6613, allocations: 7.938 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.6617, allocations: 414.4 kB / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6617, allocations: 0 / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.6618, allocations: 12.27 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6618, allocations: 0 / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6618, allocations: 15.55 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6618, allocations: 3.938 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6618, allocations: 0 / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.662, allocations: 218 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.662, allocations: 104.3 kB / 0.5672 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.6621, allocations: 11.52 kB / 0.5672 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.6622, allocations: 12 kB / 0.5672 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.6622, allocations: 7.922 kB / 0.5672 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.6622, allocations: 4 kB / 0.5672 GB, free: 9.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.6623, allocations: 169.5 kB / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6623, allocations: 4 kB / 0.5674 GB, free: 9.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.6626, allocations: 35.05 kB / 0.5674 GB, free: 9.648 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.00119/0.6638, allocations: 1.126 MB / 0.5685 GB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.664, allocations: 61.3 kB / 0.5686 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.664, allocations: 0 / 0.5686 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.664, allocations: 35 kB / 0.5686 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.6643, allocations: 26.56 kB / 0.5686 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.6648, allocations: 258.8 kB / 0.5689 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.665, allocations: 0.7162 MB / 0.5696 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.6651, allocations: 16.55 kB / 0.5696 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.6652, allocations: 40.48 kB / 0.5696 GB, free: 7.445 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6652, allocations: 0 / 0.5696 GB, free: 7.445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.6796, allocations: 3.233 MB / 0.5728 GB, free: 4.246 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.6798, allocations: 187.7 kB / 0.573 GB, free: 4.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.275, allocations: 0 / 0.573 GB, free: 4.02 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat