Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.0009991/0.0009993, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 86.3 kB / 261.7 MB, free: 1.684 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.2219/0.2219, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 8 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5215, allocations: 87 MB / 0.551 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5218, allocations: 77.17 kB / 0.5511 GB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.535, allocations: 5.901 MB / 0.5568 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.535, allocations: 0 / 0.5568 GB, free: 2.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.5351, allocations: 0 / 0.5568 GB, free: 2.906 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003716/0.5354, allocations: 418.6 kB / 0.5572 GB, free: 2.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5355, allocations: 8.031 kB / 0.5572 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.5355, allocations: 16.56 kB / 0.5572 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5358, allocations: 237.8 kB / 0.5575 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5358, allocations: 8 kB / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5358, allocations: 0 / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.252e-05/0.5359, allocations: 35.53 kB / 0.5575 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.536, allocations: 68.59 kB / 0.5576 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.536, allocations: 4 kB / 0.5576 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.536, allocations: 4 kB / 0.5576 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.5361, allocations: 0 / 0.5576 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.5364, allocations: 312 kB / 0.5579 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.5365, allocations: 73.22 kB / 0.558 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.5365, allocations: 24.11 kB / 0.558 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.5366, allocations: 0 / 0.558 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.5367, allocations: 74.72 kB / 0.5581 GB, free: 1.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.5367, allocations: 0 / 0.5581 GB, free: 1.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004074/0.5371, allocations: 195.1 kB / 0.5582 GB, free: 1.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.5371, allocations: 55.41 kB / 0.5583 GB, free: 1.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5373, allocations: 220 kB / 0.5585 GB, free: 1.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.5373, allocations: 29.7 kB / 0.5585 GB, free: 1.145 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.5374, allocations: 107.1 kB / 0.5586 GB, free: 1.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.5374, allocations: 39.36 kB / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.5374, allocations: 0 / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.5375, allocations: 326.4 kB / 0.559 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.5375, allocations: 35.36 kB / 0.559 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.5376, allocations: 41.47 kB / 0.5591 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.5376, allocations: 31.36 kB / 0.5591 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5376, allocations: 0 / 0.5591 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001421/0.5378, allocations: 123.9 kB / 0.5592 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5378, allocations: 7.125 kB / 0.5592 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5378, allocations: 0 / 0.5592 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5378, allocations: 3.938 kB / 0.5592 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.5379, allocations: 28.02 kB / 0.5592 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.5379, allocations: 0 / 0.5592 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.538, allocations: 7.953 kB / 0.5592 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.538, allocations: 4 kB / 0.5592 GB, free: 480 kB / 362.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 (13): * Single equations (assignments): 13 * 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.333e-05/0.5381, allocations: 114.4 kB / 0.5594 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001459/0.5382, allocations: 128.7 kB / 0.5595 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.5383, allocations: 11.81 kB / 0.5595 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.5385, allocations: 146.4 kB / 0.5596 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5385, allocations: 11.95 kB / 0.5596 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5385, allocations: 0 / 0.5596 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5385, allocations: 0 / 0.5596 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.5391, allocations: 457.5 kB / 0.5601 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5391, allocations: 0 / 0.5601 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.5391, allocations: 19.94 kB / 0.5601 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.5391, allocations: 7.938 kB / 0.5601 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5392, allocations: 3.938 kB / 0.5601 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5392, allocations: 8.031 kB / 0.5601 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5392, allocations: 0 / 0.5601 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.5394, allocations: 237.2 kB / 0.5603 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.5395, allocations: 100.7 kB / 0.5604 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.5396, allocations: 4 kB / 0.5604 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.5396, allocations: 7.984 kB / 0.5605 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.5397, allocations: 15.92 kB / 0.5605 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5397, allocations: 4 kB / 0.5605 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.5399, allocations: 173.6 kB / 0.5606 GB, free: 15.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5399, allocations: 0 / 0.5606 GB, free: 15.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.5402, allocations: 39.81 kB / 0.5607 GB, free: 15.07 MB / 378.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 (13): * Single equations (assignments): 11 * 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.00135/0.5415, allocations: 1.148 MB / 0.5618 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5417, allocations: 79.11 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5417, allocations: 0 / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/0.5418, allocations: 43.19 kB / 0.5619 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.542, allocations: 24.09 kB / 0.5619 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.5426, allocations: 298.7 kB / 0.5622 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.543, allocations: 0.7235 MB / 0.5629 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.5431, allocations: 24.75 kB / 0.5629 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.5432, allocations: 54.53 kB / 0.563 GB, free: 12.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5432, allocations: 0 / 0.563 GB, free: 12.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.5653, allocations: 3.289 MB / 0.5662 GB, free: 9.488 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5656, allocations: 175.5 kB / 0.5664 GB, free: 9.285 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.056, allocations: 0 / 0.5664 GB, free: 9.285 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat