Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 236 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 91.55 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2767/0.2767, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.703e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1478, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.6197, allocations: 89.22 MB / 0.5889 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.62, allocations: 75.95 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.6356, allocations: 5.883 MB / 0.5948 GB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6357, allocations: 4 kB / 0.5948 GB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.6357, allocations: 0 / 0.5948 GB, free: 10.09 MB / 410.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.0004989/0.6362, allocations: 426.1 kB / 0.5952 GB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6363, allocations: 12.03 kB / 0.5952 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.6363, allocations: 38.5 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.6364, allocations: 11.91 kB / 0.5952 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.6367, allocations: 226.5 kB / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6367, allocations: 3.953 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.6367, allocations: 4 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.6369, allocations: 61.61 kB / 0.5955 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6369, allocations: 4 kB / 0.5955 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6369, allocations: 0 / 0.5955 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.6369, allocations: 3.938 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.637, allocations: 19.98 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.6374, allocations: 308.8 kB / 0.5958 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.6375, allocations: 58.62 kB / 0.5959 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.6376, allocations: 24.98 kB / 0.5959 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.6376, allocations: 0 / 0.5959 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.6377, allocations: 63.39 kB / 0.596 GB, free: 8.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6377, allocations: 0 / 0.596 GB, free: 8.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004336/0.6382, allocations: 157.1 kB / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.6382, allocations: 51.41 kB / 0.5962 GB, free: 8.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.6385, allocations: 241.8 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.6385, allocations: 29.7 kB / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.6386, allocations: 112.1 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.6386, allocations: 23.66 kB / 0.5966 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.6386, allocations: 0 / 0.5966 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6387, allocations: 330.8 kB / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.6388, allocations: 23.98 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.6388, allocations: 37.66 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.6389, allocations: 27.98 kB / 0.597 GB, free: 7.609 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6389, allocations: 0 / 0.597 GB, free: 7.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.639, allocations: 101.5 kB / 0.5971 GB, free: 7.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6391, allocations: 4 kB / 0.5971 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6391, allocations: 3.938 kB / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6391, allocations: 4 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.6392, allocations: 15.98 kB / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6392, allocations: 0 / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.6393, allocations: 4 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.6393, allocations: 8.031 kB / 0.5971 GB, free: 7.465 MB / 410.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 7.336e-05/0.6394, allocations: 109.1 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.6394, allocations: 19.8 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.6396, allocations: 127.1 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.6397, allocations: 0 / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6397, allocations: 0 / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6397, allocations: 4.172 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.6402, allocations: 439.4 kB / 0.5978 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6402, allocations: 4 kB / 0.5978 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.6402, allocations: 19.86 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6402, allocations: 0 / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.6402, allocations: 4 kB / 0.5978 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6403, allocations: 4 kB / 0.5978 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6403, allocations: 0 / 0.5978 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.6405, allocations: 221.8 kB / 0.598 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.6406, allocations: 104.9 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.6406, allocations: 0 / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.6407, allocations: 8 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.6407, allocations: 11.94 kB / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.6407, allocations: 4 kB / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.6409, allocations: 196.2 kB / 0.5983 GB, free: 6.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6409, allocations: 0 / 0.5983 GB, free: 6.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.6412, allocations: 39.94 kB / 0.5983 GB, free: 6.059 MB / 410.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.001322/0.6425, allocations: 1.132 MB / 0.5995 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.6427, allocations: 55.94 kB / 0.5995 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6427, allocations: 0 / 0.5995 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.6427, allocations: 39.86 kB / 0.5995 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.643, allocations: 35.72 kB / 0.5996 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.6436, allocations: 285.2 kB / 0.5999 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.6439, allocations: 0.7238 MB / 0.6006 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.644, allocations: 24.7 kB / 0.6006 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.6441, allocations: 47.36 kB / 0.6006 GB, free: 3.742 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6441, allocations: 0 / 0.6006 GB, free: 3.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.6584, allocations: 3.437 MB / 0.604 GB, free: 400 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.6586, allocations: 194.5 kB / 0.6042 GB, free: 164 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.379, allocations: 0 / 0.6042 GB, free: 164 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat