Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001239/0.001239, allocations: 183.1 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.765/1.765, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008732/0.0008733, allocations: 85.62 kB / 267.1 MB, free: 9.273 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.4317/0.4317, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.287e-05, allocations: 12 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.84 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.5252, allocations: 87.57 MB / 0.5584 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.5254, allocations: 69.42 kB / 0.5585 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5393, allocations: 5.175 MB / 0.5636 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5394, allocations: 4 kB / 0.5636 GB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5394, allocations: 0 / 0.5636 GB, free: 13.45 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.0004569/0.5399, allocations: 396.3 kB / 0.5639 GB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5399, allocations: 12.03 kB / 0.5639 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.54, allocations: 32.3 kB / 0.564 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.54, allocations: 11.34 kB / 0.564 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.5403, allocations: 205.5 kB / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5403, allocations: 4 kB / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5403, allocations: 7.859 kB / 0.5642 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5405, allocations: 60.78 kB / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5405, allocations: 0 / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5405, allocations: 1.375 kB / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5405, allocations: 0 / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.5406, allocations: 21.67 kB / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.5409, allocations: 295 kB / 0.5646 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.541, allocations: 55.41 kB / 0.5646 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.5411, allocations: 25.23 kB / 0.5646 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.5411, allocations: 0 / 0.5646 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.5412, allocations: 61.42 kB / 0.5647 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5412, allocations: 7.938 kB / 0.5647 GB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004528/0.5417, allocations: 153.4 kB / 0.5648 GB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5417, allocations: 51.41 kB / 0.5649 GB, free: 12.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.5418, allocations: 149.3 kB / 0.565 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.5419, allocations: 28.95 kB / 0.5651 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.5419, allocations: 98.05 kB / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5419, allocations: 24.77 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.542, allocations: 0 / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.542, allocations: 325.4 kB / 0.5655 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.5421, allocations: 18.94 kB / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.5421, allocations: 39.5 kB / 0.5655 GB, free: 11.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.5421, allocations: 20.66 kB / 0.5656 GB, free: 11.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5421, allocations: 0 / 0.5656 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001258/0.5423, allocations: 101.2 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5423, allocations: 4 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5423, allocations: 160 / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5423, allocations: 4.031 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.5424, allocations: 23.17 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5425, allocations: 7.938 kB / 0.5657 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.5425, allocations: 4 kB / 0.5657 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5425, allocations: 1.5 kB / 0.5657 GB, free: 11.31 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.045e-05/0.5426, allocations: 113.6 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.5426, allocations: 11.81 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.5428, allocations: 117.5 kB / 0.5659 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5428, allocations: 4 kB / 0.5659 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5428, allocations: 0 / 0.5659 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5428, allocations: 3.953 kB / 0.5659 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.5432, allocations: 397.2 kB / 0.5663 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5432, allocations: 0 / 0.5663 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.5432, allocations: 11.98 kB / 0.5663 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5432, allocations: 4 kB / 0.5663 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5432, allocations: 3.953 kB / 0.5663 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5432, allocations: 7.969 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5433, allocations: 4 kB / 0.5664 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.5434, allocations: 212.6 kB / 0.5666 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.5435, allocations: 92.91 kB / 0.5666 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.5435, allocations: 12.64 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.5436, allocations: 7.375 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.5436, allocations: 7.984 kB / 0.5667 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.5436, allocations: 4 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.447e-05/0.5437, allocations: 125.2 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5437, allocations: 0 / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.544, allocations: 38 kB / 0.5668 GB, free: 10.17 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.001131/0.5451, allocations: 1.134 MB / 0.5679 GB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.5453, allocations: 63.75 kB / 0.568 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5453, allocations: 0 / 0.568 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.5454, allocations: 35.11 kB / 0.568 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5456, allocations: 20.31 kB / 0.5681 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.5461, allocations: 196.4 kB / 0.5682 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.5463, allocations: 0.7122 MB / 0.5689 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.5464, allocations: 14.34 kB / 0.569 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.5464, allocations: 30.67 kB / 0.569 GB, free: 8.039 MB / 394.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5464, allocations: 0 / 0.569 GB, free: 8.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.561, allocations: 2.864 MB / 0.5718 GB, free: 5.215 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.5613, allocations: 178.6 kB / 0.5719 GB, free: 4.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.247, allocations: 0 / 0.5719 GB, free: 4.996 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat