Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001366/0.001366, allocations: 186.7 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.739/1.739, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008272/0.0008272, allocations: 92.45 kB / 267.1 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.3775/0.3775, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.071e-05/5.075e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5883, allocations: 87.4 MB / 0.5583 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5887, allocations: 72.31 kB / 0.5583 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.6032, allocations: 5.158 MB / 0.5634 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6033, allocations: 4 kB / 0.5634 GB, free: 13.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.6033, allocations: 4 kB / 0.5634 GB, free: 13.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004721/0.6038, allocations: 388.9 kB / 0.5638 GB, free: 13.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.6038, allocations: 13.62 kB / 0.5638 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.6039, allocations: 30.56 kB / 0.5638 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.604, allocations: 15.22 kB / 0.5638 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.6043, allocations: 215.4 kB / 0.564 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6043, allocations: 3.875 kB / 0.564 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.6044, allocations: 4 kB / 0.564 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6045, allocations: 43.88 kB / 0.5641 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6045, allocations: 0 / 0.5641 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6045, allocations: 4 kB / 0.5641 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6045, allocations: 1.375 kB / 0.5641 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.6046, allocations: 22.67 kB / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.6048, allocations: 181.9 kB / 0.5643 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.6049, allocations: 52.5 kB / 0.5643 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.605, allocations: 18.34 kB / 0.5643 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.605, allocations: 4 kB / 0.5643 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.6051, allocations: 69.86 kB / 0.5644 GB, free: 12.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.6051, allocations: 0 / 0.5644 GB, free: 12.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002211/0.6054, allocations: 73.41 kB / 0.5645 GB, free: 12.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6054, allocations: 54.59 kB / 0.5645 GB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.6056, allocations: 170.4 kB / 0.5647 GB, free: 12.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.6056, allocations: 31.17 kB / 0.5647 GB, free: 12.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.6056, allocations: 100 kB / 0.5648 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.6057, allocations: 23.62 kB / 0.5648 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.6057, allocations: 0 / 0.5648 GB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6058, allocations: 326.9 kB / 0.5652 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.6059, allocations: 11.69 kB / 0.5652 GB, free: 11.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.6059, allocations: 27.83 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.606, allocations: 19.22 kB / 0.5652 GB, free: 11.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.606, allocations: 4 kB / 0.5652 GB, free: 11.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.6061, allocations: 76.7 kB / 0.5653 GB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6061, allocations: 4 kB / 0.5653 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6062, allocations: 1.078 kB / 0.5653 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.6062, allocations: 4 kB / 0.5653 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.6063, allocations: 16.5 kB / 0.5653 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.6063, allocations: 0 / 0.5653 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.6064, allocations: 9.344 kB / 0.5653 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.6064, allocations: 0 / 0.5653 GB, free: 11.62 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 (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 8.549e-05/0.6065, allocations: 114 kB / 0.5654 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.6065, allocations: 15.81 kB / 0.5654 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6067, allocations: 89.8 kB / 0.5655 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6067, allocations: 0 / 0.5655 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6067, allocations: 3.938 kB / 0.5655 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6067, allocations: 0 / 0.5655 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.6069, allocations: 195.2 kB / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6069, allocations: 0 / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.607, allocations: 9.641 kB / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.607, allocations: 0 / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.607, allocations: 0 / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.607, allocations: 4 kB / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.607, allocations: 0 / 0.5657 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.6071, allocations: 106.5 kB / 0.5658 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.6072, allocations: 94.02 kB / 0.5659 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.6072, allocations: 6.484 kB / 0.5659 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.6073, allocations: 5.375 kB / 0.5659 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.6073, allocations: 5.031 kB / 0.5659 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.6073, allocations: 8.688 kB / 0.5659 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.6074, allocations: 145 kB / 0.5661 GB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6074, allocations: 0 / 0.5661 GB, free: 10.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.6076, allocations: 27.06 kB / 0.5661 GB, free: 10.84 MB / 394.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) * 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.001151/0.6088, allocations: 0.9196 MB / 0.567 GB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.6089, allocations: 52.23 kB / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6089, allocations: 0 / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.609, allocations: 18.25 kB / 0.5671 GB, free: 9.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.6092, allocations: 26.7 kB / 0.5671 GB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.6097, allocations: 202 kB / 0.5673 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.61, allocations: 0.7083 MB / 0.568 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.61, allocations: 16.42 kB / 0.568 GB, free: 8.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.6101, allocations: 33.8 kB / 0.568 GB, free: 8.941 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6101, allocations: 0 / 0.568 GB, free: 8.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.6247, allocations: 2.709 MB / 0.5707 GB, free: 6.266 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.6249, allocations: 187.5 kB / 0.5709 GB, free: 6.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.303, allocations: 0 / 0.5709 GB, free: 6.039 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat