Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.0009721/0.0009721, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.818/1.818, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.000957/0.000957, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.5464, allocations: 87.51 MB / 0.5643 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5468, allocations: 74.91 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5615, allocations: 5.269 MB / 0.5695 GB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5615, allocations: 0 / 0.5695 GB, free: 7.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5615, allocations: 4 kB / 0.5695 GB, free: 7.672 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005872/0.5621, allocations: 430.1 kB / 0.5699 GB, free: 7.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5622, allocations: 8.031 kB / 0.57 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.5622, allocations: 34.5 kB / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.5623, allocations: 15.81 kB / 0.57 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.5626, allocations: 213.8 kB / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5627, allocations: 3.984 kB / 0.5702 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.5627, allocations: 4 kB / 0.5702 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5628, allocations: 52.73 kB / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5628, allocations: 0 / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5629, allocations: 4 kB / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5629, allocations: 0 / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.563, allocations: 19.61 kB / 0.5703 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.5632, allocations: 187.5 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.5634, allocations: 52.86 kB / 0.5705 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5634, allocations: 3.984 kB / 0.5705 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.5636, allocations: 74.39 kB / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5636, allocations: 0 / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002942/0.5639, allocations: 94.39 kB / 0.5707 GB, free: 6.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.564, allocations: 59.33 kB / 0.5707 GB, free: 6.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.5642, allocations: 192.1 kB / 0.5709 GB, free: 6.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5642, allocations: 29.7 kB / 0.5709 GB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.5643, allocations: 100.3 kB / 0.571 GB, free: 6.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.5643, allocations: 27.42 kB / 0.5711 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5643, allocations: 0 / 0.5711 GB, free: 6.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5644, allocations: 322.5 kB / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.5645, allocations: 15.62 kB / 0.5714 GB, free: 5.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.5646, allocations: 28.83 kB / 0.5714 GB, free: 5.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.5646, allocations: 27.44 kB / 0.5714 GB, free: 5.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5646, allocations: 4 kB / 0.5714 GB, free: 5.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.5648, allocations: 80.53 kB / 0.5715 GB, free: 5.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5648, allocations: 10.66 kB / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5649, allocations: 0 / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5649, allocations: 0 / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.565, allocations: 11.98 kB / 0.5715 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.565, allocations: 0 / 0.5715 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.565, allocations: 7.688 kB / 0.5716 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.565, allocations: 4 kB / 0.5716 GB, free: 5.523 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001094/0.5652, allocations: 129.1 kB / 0.5717 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.5652, allocations: 19.84 kB / 0.5717 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5654, allocations: 100.7 kB / 0.5718 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5654, allocations: 0 / 0.5718 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5654, allocations: 0 / 0.5718 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5655, allocations: 0 / 0.5718 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.5656, allocations: 192 kB / 0.572 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5657, allocations: 7.891 kB / 0.572 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.5657, allocations: 4 kB / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5657, allocations: 0 / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5657, allocations: 10.67 kB / 0.572 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5657, allocations: 4 kB / 0.572 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5657, allocations: 0 / 0.572 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.5659, allocations: 117.1 kB / 0.5721 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.566, allocations: 93.16 kB / 0.5722 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.5661, allocations: 7 kB / 0.5722 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.5661, allocations: 7.984 kB / 0.5722 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.5662, allocations: 3.938 kB / 0.5722 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5662, allocations: 8 kB / 0.5722 GB, free: 4.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5664, allocations: 160.5 kB / 0.5724 GB, free: 4.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5664, allocations: 0 / 0.5724 GB, free: 4.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.5666, allocations: 27.56 kB / 0.5724 GB, free: 4.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001382/0.568, allocations: 0.9625 MB / 0.5734 GB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.5681, allocations: 53.97 kB / 0.5734 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5682, allocations: 0 / 0.5734 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.5682, allocations: 19.25 kB / 0.5734 GB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.5685, allocations: 30.41 kB / 0.5734 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5697, allocations: 0.8567 MB / 0.5743 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5701, allocations: 0.7101 MB / 0.575 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.5702, allocations: 21.03 kB / 0.575 GB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.5702, allocations: 34.36 kB / 0.575 GB, free: 2.023 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5702, allocations: 0 / 0.575 GB, free: 2.023 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.5855, allocations: 2.857 MB / 0.5778 GB, free: 15.19 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.5858, allocations: 213.7 kB / 0.578 GB, free: 14.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.158, allocations: 0 / 0.578 GB, free: 14.95 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat