Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001063/0.001063, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.511/1.511, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008058/0.0008058, allocations: 93.92 kB / 267 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.3999/0.3999, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.887e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5537, allocations: 87.61 MB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.5539, allocations: 72.08 kB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.568, allocations: 5.494 MB / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5681, allocations: 0 / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5681, allocations: 7.281 kB / 0.5639 GB, free: 13.25 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.0005327/0.5686, allocations: 409.3 kB / 0.5643 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.5687, allocations: 8.031 kB / 0.5643 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.5688, allocations: 30.56 kB / 0.5643 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.5688, allocations: 19.25 kB / 0.5644 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.5691, allocations: 217.2 kB / 0.5646 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5692, allocations: 4 kB / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5692, allocations: 0 / 0.5646 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5693, allocations: 56.48 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5693, allocations: 7.312 kB / 0.5646 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5694, allocations: 1.375 kB / 0.5646 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5694, allocations: 0 / 0.5646 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.5694, allocations: 15.56 kB / 0.5646 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.5698, allocations: 300.7 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5699, allocations: 60.38 kB / 0.565 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.57, allocations: 19.66 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.57, allocations: 3.375 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.5701, allocations: 73.73 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.5701, allocations: 0 / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004518/0.5706, allocations: 166.4 kB / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5706, allocations: 55.41 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.5708, allocations: 194.2 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5708, allocations: 30.39 kB / 0.5655 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5709, allocations: 101.6 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.5709, allocations: 23.33 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5709, allocations: 7.812 kB / 0.5656 GB, free: 11.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.571, allocations: 322.7 kB / 0.5659 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.5711, allocations: 19.69 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.5711, allocations: 37.33 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.5712, allocations: 19.75 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5712, allocations: 0 / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001317/0.5713, allocations: 108.3 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5713, allocations: 4 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5713, allocations: 0 / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5713, allocations: 5.969 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.5714, allocations: 12 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5715, allocations: 7.938 kB / 0.5661 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.5715, allocations: 15.22 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5715, allocations: 4 kB / 0.5662 GB, free: 10.92 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 5.037e-05/0.5716, allocations: 108.7 kB / 0.5663 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.5716, allocations: 11.91 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.5718, allocations: 115.5 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5718, allocations: 3.938 kB / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5718, allocations: 0 / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5718, allocations: 3.953 kB / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.5723, allocations: 418.3 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5723, allocations: 4 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.5723, allocations: 8 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5723, allocations: 0 / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5723, allocations: 13.11 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5723, allocations: 0 / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5724, allocations: 0 / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.5725, allocations: 223.7 kB / 0.567 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.5726, allocations: 96.91 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.5726, allocations: 7.328 kB / 0.5671 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.5727, allocations: 7.984 kB / 0.5671 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.5727, allocations: 4.562 kB / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5728, allocations: 11.81 kB / 0.5672 GB, free: 9.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.5729, allocations: 157.1 kB / 0.5673 GB, free: 9.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5729, allocations: 4 kB / 0.5673 GB, free: 9.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.5731, allocations: 39.86 kB / 0.5673 GB, free: 9.719 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.001111/0.5742, allocations: 1.133 MB / 0.5685 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.5744, allocations: 57.17 kB / 0.5685 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5744, allocations: 0 / 0.5685 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.5744, allocations: 30.94 kB / 0.5685 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5747, allocations: 24.75 kB / 0.5686 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.5752, allocations: 250.7 kB / 0.5688 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.5753, allocations: 0.7082 MB / 0.5695 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.5754, allocations: 18.34 kB / 0.5695 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.5755, allocations: 44.59 kB / 0.5696 GB, free: 7.535 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5755, allocations: 0 / 0.5696 GB, free: 7.535 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.5917, allocations: 3.145 MB / 0.5726 GB, free: 4.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5919, allocations: 182.6 kB / 0.5728 GB, free: 4.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.278, allocations: 0 / 0.5728 GB, free: 4.207 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat