Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.00128/0.001281, allocations: 179.6 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.578/1.578, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009398/0.0009396, allocations: 99.97 kB / 287 MB, free: 256 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.2739/0.2739, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.703e-05/4.732e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1584, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5908, allocations: 89.23 MB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5911, allocations: 72.05 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.6068, allocations: 5.753 MB / 0.5946 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6068, allocations: 0 / 0.5946 GB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.6068, allocations: 0 / 0.5946 GB, free: 10.21 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.0005681/0.6074, allocations: 414.3 kB / 0.595 GB, free: 9.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.6075, allocations: 8.031 kB / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.6076, allocations: 42.48 kB / 0.5951 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.6076, allocations: 11.81 kB / 0.5951 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.608, allocations: 218.8 kB / 0.5953 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.608, allocations: 7.891 kB / 0.5953 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.6081, allocations: 4 kB / 0.5953 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.6082, allocations: 49.69 kB / 0.5953 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.6083, allocations: 7.906 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6083, allocations: 4 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6083, allocations: 11.92 kB / 0.5954 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.6084, allocations: 19.94 kB / 0.5954 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.6088, allocations: 296.9 kB / 0.5957 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.6089, allocations: 50.69 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.609, allocations: 20.98 kB / 0.5957 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.609, allocations: 0 / 0.5957 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.6092, allocations: 71.33 kB / 0.5958 GB, free: 8.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.6092, allocations: 0 / 0.5958 GB, free: 8.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004675/0.6097, allocations: 157.1 kB / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.6097, allocations: 55.39 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.6099, allocations: 197.8 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.61, allocations: 33.7 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.61, allocations: 112.1 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.6101, allocations: 23.7 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6101, allocations: 0 / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6102, allocations: 326.8 kB / 0.5967 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.6102, allocations: 20 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.6103, allocations: 33.7 kB / 0.5967 GB, free: 7.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.6104, allocations: 24 kB / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6104, allocations: 0 / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.6105, allocations: 101.5 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6105, allocations: 4 kB / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6106, allocations: 4.188 kB / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6106, allocations: 0 / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.6107, allocations: 19.98 kB / 0.5969 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6107, allocations: 0 / 0.5969 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.6107, allocations: 4 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6108, allocations: 7.938 kB / 0.5969 GB, free: 7.656 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.966e-05/0.6108, allocations: 117 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.6109, allocations: 11.81 kB / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.6111, allocations: 127.2 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6111, allocations: 4 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6111, allocations: 0 / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6112, allocations: 0 / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.6116, allocations: 427.2 kB / 0.5975 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6116, allocations: 4 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.6117, allocations: 15.92 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6117, allocations: 0 / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6117, allocations: 0 / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6117, allocations: 4.234 kB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6117, allocations: 0 / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.6119, allocations: 225.9 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.612, allocations: 96.91 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.6121, allocations: 4 kB / 0.5979 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.6121, allocations: 4 kB / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.6122, allocations: 11.94 kB / 0.5979 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6122, allocations: 4 kB / 0.5979 GB, free: 6.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.6124, allocations: 168.3 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6124, allocations: 0 / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.6127, allocations: 47.92 kB / 0.5981 GB, free: 6.293 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.001414/0.6141, allocations: 1.138 MB / 0.5992 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.6142, allocations: 55.92 kB / 0.5993 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6142, allocations: 0 / 0.5993 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.6143, allocations: 31.94 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.6146, allocations: 28.12 kB / 0.5993 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.6152, allocations: 265.1 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.6154, allocations: 0.716 MB / 0.6003 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.6155, allocations: 12.86 kB / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.6156, allocations: 39.42 kB / 0.6003 GB, free: 4.035 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6156, allocations: 4 kB / 0.6003 GB, free: 4.031 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.6292, allocations: 3.213 MB / 0.6035 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.6296, allocations: 188.1 kB / 0.6036 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.358, allocations: 3.938 kB / 0.6036 GB, free: 0.6758 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat