Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 99.45 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3516/0.3516, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4452, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5756, allocations: 89.96 MB / 0.5975 GB, free: 5.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5759, allocations: 87.91 kB / 0.5976 GB, free: 5.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03491/0.6108, allocations: 12.79 MB / 0.6101 GB, free: 8.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6108, allocations: 0 / 0.6101 GB, free: 8.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.64e-05/0.6109, allocations: 16 kB / 0.6101 GB, free: 8.219 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00168/0.6126, allocations: 0.8489 MB / 0.6109 GB, free: 7.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.6127, allocations: 8.031 kB / 0.6109 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/0.6128, allocations: 50.48 kB / 0.611 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.613, allocations: 67.16 kB / 0.611 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6141, allocations: 463.4 kB / 0.6115 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6142, allocations: 12 kB / 0.6115 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.6142, allocations: 19.98 kB / 0.6115 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.6147, allocations: 201.5 kB / 0.6117 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6147, allocations: 0 / 0.6117 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.6147, allocations: 8 kB / 0.6117 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6148, allocations: 4 kB / 0.6117 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.615, allocations: 103.9 kB / 0.6118 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.6164, allocations: 0.8652 MB / 0.6127 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.6172, allocations: 254.5 kB / 0.6129 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.6172, allocations: 16.2 kB / 0.6129 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.6176, allocations: 209.2 kB / 0.6131 GB, free: 4.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.936e-06/0.6177, allocations: 3.938 kB / 0.6131 GB, free: 4.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.003043/0.6207, allocations: 1.168 MB / 0.6143 GB, free: 3.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.6208, allocations: 136.5 kB / 0.6144 GB, free: 3.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.6221, allocations: 0.8238 MB / 0.6152 GB, free: 2.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.6221, allocations: 45.69 kB / 0.6152 GB, free: 2.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.6223, allocations: 257 kB / 0.6155 GB, free: 2.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6225, allocations: 138.1 kB / 0.6156 GB, free: 2.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.6225, allocations: 8 kB / 0.6156 GB, free: 2.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6227, allocations: 386.7 kB / 0.616 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.6229, allocations: 112.8 kB / 0.6161 GB, free: 1.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.6232, allocations: 191.4 kB / 0.6163 GB, free: 1.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.6235, allocations: 135.9 kB / 0.6164 GB, free: 1.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6235, allocations: 0 / 0.6164 GB, free: 1.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007486/0.6242, allocations: 452.7 kB / 0.6168 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6243, allocations: 9.406 kB / 0.6169 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6243, allocations: 0 / 0.6169 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6243, allocations: 4 kB / 0.6169 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.6246, allocations: 87.89 kB / 0.6169 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6246, allocations: 7.984 kB / 0.617 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6248, allocations: 32.05 kB / 0.617 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.6248, allocations: 16 kB / 0.617 GB, free: 0.8008 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002858/0.6251, allocations: 263.8 kB / 0.6172 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6253, allocations: 75.14 kB / 0.6173 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.6262, allocations: 0.5227 MB / 0.6178 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.6263, allocations: 8 kB / 0.6178 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6263, allocations: 0 / 0.6178 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6263, allocations: 3.984 kB / 0.6178 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.6283, allocations: 1.474 MB / 0.6193 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6284, allocations: 7.953 kB / 0.6193 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.6286, allocations: 72.09 kB / 0.6194 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.6286, allocations: 4 kB / 0.6194 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.6286, allocations: 20 kB / 0.6194 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.6286, allocations: 4 kB / 0.6194 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6286, allocations: 7.984 kB / 0.6194 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.6297, allocations: 0.9321 MB / 0.6203 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.6301, allocations: 236.1 kB / 0.6205 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.6302, allocations: 19.95 kB / 0.6205 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.6305, allocations: 19.98 kB / 0.6206 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.6306, allocations: 39.89 kB / 0.6206 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.6307, allocations: 23.98 kB / 0.6206 GB, free: 12.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000884/0.6315, allocations: 0.6708 MB / 0.6213 GB, free: 12.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6316, allocations: 0 / 0.6213 GB, free: 12.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006691/0.6322, allocations: 127.9 kB / 0.6214 GB, free: 12.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002903/0.6351, allocations: 2.687 MB / 0.624 GB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.6358, allocations: 338.5 kB / 0.6244 GB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6358, allocations: 0 / 0.6244 GB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.6362, allocations: 172.4 kB / 0.6245 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.6369, allocations: 112.4 kB / 0.6246 GB, free: 8.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/0.6444, allocations: 4.554 MB / 0.6291 GB, free: 4.211 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.6451, allocations: 0.9178 MB / 0.63 GB, free: 3.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.6454, allocations: 103.2 kB / 0.6301 GB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.6457, allocations: 211.3 kB / 0.6303 GB, free: 2.961 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6457, allocations: 0 / 0.6303 GB, free: 2.961 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.674, allocations: 11.27 MB / 0.6413 GB, free: 7.875 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6743, allocations: 224.5 kB / 0.6415 GB, free: 7.625 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.987, allocations: 3.938 kB / 0.6415 GB, free: 7.621 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat