Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001295/0.001295, allocations: 183 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.821/1.821, 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.0009128/0.0009128, allocations: 85.38 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.4187/0.4187, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.835e-05, allocations: 7.984 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5457/0.6895, allocations: 87.62 MB / 0.5585 GB, free: 16.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.6899, allocations: 77.86 kB / 0.5586 GB, free: 16.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.7048, allocations: 5.439 MB / 0.5639 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7048, allocations: 0 / 0.5639 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.7049, allocations: 0 / 0.5639 GB, free: 13.2 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.0005273/0.7054, allocations: 404.8 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.7055, allocations: 16.03 kB / 0.5643 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.7055, allocations: 39.06 kB / 0.5643 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.7056, allocations: 11.34 kB / 0.5643 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.7059, allocations: 214.1 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.7059, allocations: 0 / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.7059, allocations: 8.5 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.7061, allocations: 50.2 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7061, allocations: 0 / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7061, allocations: 1.375 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7061, allocations: 0 / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.7062, allocations: 29.34 kB / 0.5646 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.7066, allocations: 296 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.7067, allocations: 51.94 kB / 0.5649 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.7068, allocations: 21.06 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.7068, allocations: 0 / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.707, allocations: 73.02 kB / 0.565 GB, free: 11.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.707, allocations: 0 / 0.565 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004731/0.7074, allocations: 166.2 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.7075, allocations: 51.41 kB / 0.5652 GB, free: 11.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.7077, allocations: 185.5 kB / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.7077, allocations: 33.58 kB / 0.5654 GB, free: 11.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.7077, allocations: 99.31 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.7078, allocations: 29.78 kB / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.7078, allocations: 0 / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.7079, allocations: 326.1 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.7079, allocations: 18.5 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.708, allocations: 34.08 kB / 0.5659 GB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.708, allocations: 21.81 kB / 0.5659 GB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.708, allocations: 0 / 0.5659 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001398/0.7082, allocations: 106.6 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7082, allocations: 4 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.7082, allocations: 0 / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7082, allocations: 4 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.7083, allocations: 14.91 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7083, allocations: 3.953 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.7084, allocations: 7.312 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.7084, allocations: 5.594 kB / 0.5661 GB, free: 11 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 6.487e-05/0.7085, allocations: 109.1 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.7085, allocations: 19.84 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.7087, allocations: 124.9 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7088, allocations: 3.984 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7088, allocations: 0 / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7088, allocations: 3.953 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.7092, allocations: 411.1 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7092, allocations: 0 / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.7092, allocations: 8 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7092, allocations: 4.031 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7092, allocations: 11.94 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7092, allocations: 0 / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7093, allocations: 0 / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.7094, allocations: 218.4 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.7095, allocations: 92.64 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.7095, allocations: 11.94 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.7096, allocations: 11.88 kB / 0.5671 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7097, allocations: 4 kB / 0.5671 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.7097, allocations: 7.984 kB / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.7099, allocations: 147.9 kB / 0.5672 GB, free: 9.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7099, allocations: 0 / 0.5672 GB, free: 9.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.7101, allocations: 39.73 kB / 0.5673 GB, free: 9.824 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.001232/0.7114, allocations: 1.144 MB / 0.5684 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.7115, allocations: 55.17 kB / 0.5684 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7115, allocations: 0 / 0.5684 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.7116, allocations: 27.44 kB / 0.5685 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.7118, allocations: 24.62 kB / 0.5685 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.7123, allocations: 233.5 kB / 0.5687 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.7125, allocations: 0.716 MB / 0.5694 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.7126, allocations: 20.84 kB / 0.5694 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.7126, allocations: 34.8 kB / 0.5695 GB, free: 7.652 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7126, allocations: 0 / 0.5695 GB, free: 7.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.7309, allocations: 3.079 MB / 0.5725 GB, free: 4.605 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.7312, allocations: 183.6 kB / 0.5726 GB, free: 4.383 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.435, allocations: 0 / 0.5726 GB, free: 4.383 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat