Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001427/0.001427, 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.594/1.594, 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.0008228/0.0008225, allocations: 82.61 kB / 267.1 MB, free: 9.281 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.3943/0.3943, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.636e-05/5.658e-05, allocations: 4 kB / 425.4 MB, free: 8.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 58.85 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6222, allocations: 88.6 MB / 0.5594 GB, free: 348 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.6225, allocations: 81.58 kB / 0.5595 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.6345, allocations: 4.245 MB / 0.5637 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.6346, allocations: 0 / 0.5637 GB, free: 12.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.6346, allocations: 12.58 kB / 0.5637 GB, free: 12.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005907/0.6352, allocations: 449.9 kB / 0.5641 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.6353, allocations: 12.03 kB / 0.5641 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.6353, allocations: 42.55 kB / 0.5642 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.6354, allocations: 23.25 kB / 0.5642 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.6358, allocations: 228 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.6358, allocations: 7.984 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.6358, allocations: 8 kB / 0.5644 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.636, allocations: 96.75 kB / 0.5645 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6361, allocations: 0 / 0.5645 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.6361, allocations: 5.375 kB / 0.5645 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.6361, allocations: 8 kB / 0.5645 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.6362, allocations: 35.98 kB / 0.5645 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.637, allocations: 0.5165 MB / 0.5651 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.6373, allocations: 78.62 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.6373, allocations: 36.84 kB / 0.5652 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.6374, allocations: 4.156 kB / 0.5652 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.6375, allocations: 88.64 kB / 0.5653 GB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.6376, allocations: 0 / 0.5653 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002855/0.6378, allocations: 101.4 kB / 0.5653 GB, free: 10.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6379, allocations: 55.41 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.6381, allocations: 174.8 kB / 0.5656 GB, free: 9.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6381, allocations: 25.7 kB / 0.5656 GB, free: 9.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.6382, allocations: 120.6 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.6383, allocations: 27.56 kB / 0.5657 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.6383, allocations: 0 / 0.5657 GB, free: 9.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6384, allocations: 334.8 kB / 0.5661 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.6385, allocations: 20 kB / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.6386, allocations: 61.36 kB / 0.5661 GB, free: 9.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.6386, allocations: 32.02 kB / 0.5662 GB, free: 9.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6387, allocations: 4 kB / 0.5662 GB, free: 9.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002053/0.6389, allocations: 125.4 kB / 0.5663 GB, free: 9.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6389, allocations: 4 kB / 0.5663 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6389, allocations: 9.438 kB / 0.5663 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6389, allocations: 0 / 0.5663 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.639, allocations: 27.92 kB / 0.5663 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6391, allocations: 0 / 0.5663 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.6392, allocations: 20.05 kB / 0.5663 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.6392, allocations: 4 kB / 0.5663 GB, free: 9.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.872e-05/0.6393, allocations: 109.6 kB / 0.5665 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.6393, allocations: 15.81 kB / 0.5665 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.6396, allocations: 119.1 kB / 0.5666 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6396, allocations: 3.953 kB / 0.5666 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6396, allocations: 3.984 kB / 0.5666 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6396, allocations: 3.984 kB / 0.5666 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.6398, allocations: 213.6 kB / 0.5668 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6398, allocations: 8 kB / 0.5668 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.6399, allocations: 19.92 kB / 0.5668 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6399, allocations: 0 / 0.5668 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6399, allocations: 0 / 0.5668 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.64, allocations: 0 / 0.5668 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.64, allocations: 3.953 kB / 0.5668 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.6403, allocations: 177 kB / 0.567 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.6404, allocations: 96.95 kB / 0.5671 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.6404, allocations: 8 kB / 0.5671 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.6405, allocations: 11.98 kB / 0.5671 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.6406, allocations: 15.94 kB / 0.5671 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.6406, allocations: 3.938 kB / 0.5671 GB, free: 8.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.6407, allocations: 145.2 kB / 0.5673 GB, free: 8.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6407, allocations: 0 / 0.5673 GB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.641, allocations: 32.11 kB / 0.5673 GB, free: 7.988 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001328/0.6423, allocations: 0.9883 MB / 0.5683 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.6425, allocations: 63.94 kB / 0.5683 GB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6425, allocations: 0 / 0.5683 GB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.6426, allocations: 39.92 kB / 0.5684 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.6429, allocations: 29.44 kB / 0.5684 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.6435, allocations: 252.5 kB / 0.5686 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.6438, allocations: 0.7165 MB / 0.5693 GB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.6439, allocations: 21.2 kB / 0.5693 GB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.644, allocations: 43.42 kB / 0.5694 GB, free: 5.848 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.644, allocations: 0 / 0.5694 GB, free: 5.848 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.6604, allocations: 3.299 MB / 0.5726 GB, free: 2.578 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6607, allocations: 179.6 kB / 0.5728 GB, free: 2.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.362, allocations: 0 / 0.5728 GB, free: 2.359 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat