Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002199/0.002199, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 82.8 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.335e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3964, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.564, allocations: 86.95 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5643, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02626/0.5906, allocations: 5.541 MB / 0.5563 GB, free: 6.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5907, allocations: 0 / 0.5563 GB, free: 6.73 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.5907, allocations: 0 / 0.5563 GB, free: 6.73 MB / 395.1 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.000651/0.5914, allocations: 406.2 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5914, allocations: 8.031 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.5915, allocations: 11.81 kB / 0.5567 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.592, allocations: 230.7 kB / 0.5569 GB, free: 6.004 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.592, allocations: 4 kB / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5921, allocations: 0 / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.5922, allocations: 19.98 kB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.5923, allocations: 53.62 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5923, allocations: 3.906 kB / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5924, allocations: 0 / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5924, allocations: 3.938 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.5929, allocations: 277.5 kB / 0.5573 GB, free: 5.605 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5931, allocations: 46.69 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.5932, allocations: 20.98 kB / 0.5573 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.5932, allocations: 4 kB / 0.5573 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.5934, allocations: 67.33 kB / 0.5574 GB, free: 5.445 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.5935, allocations: 4 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006688/0.5941, allocations: 145.2 kB / 0.5576 GB, free: 5.293 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5942, allocations: 51.41 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.5946, allocations: 205.7 kB / 0.5578 GB, free: 5.016 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5946, allocations: 25.7 kB / 0.5578 GB, free: 4.984 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.5947, allocations: 166.6 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.5948, allocations: 27.64 kB / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.5948, allocations: 0 / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5949, allocations: 314.8 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.595, allocations: 23.98 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.5951, allocations: 33.7 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.5952, allocations: 23.98 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5952, allocations: 0 / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.5954, allocations: 77.62 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5955, allocations: 8 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5955, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5955, allocations: 4.031 kB / 0.5585 GB, free: 4.297 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5957, allocations: 15.98 kB / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5957, allocations: 4 kB / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-05/0.5958, allocations: 0 / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.5958, allocations: 11.89 kB / 0.5585 GB, free: 4.266 MB / 395.1 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 0.0001079/0.596, allocations: 109 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.596, allocations: 11.81 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.5964, allocations: 119.4 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5964, allocations: 4 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5964, allocations: 288 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5964, allocations: 0 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.5971, allocations: 387.8 kB / 0.5591 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5971, allocations: 7.938 kB / 0.5591 GB, free: 3.582 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.5972, allocations: 8 kB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5973, allocations: 3.938 kB / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.5973, allocations: 4 kB / 0.5591 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5973, allocations: 8.031 kB / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5973, allocations: 0 / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.5977, allocations: 213.8 kB / 0.5593 GB, free: 3.324 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5978, allocations: 100.9 kB / 0.5594 GB, free: 3.207 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5979, allocations: 4 kB / 0.5594 GB, free: 3.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.598, allocations: 3.984 kB / 0.5594 GB, free: 3.199 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.5981, allocations: 11.95 kB / 0.5595 GB, free: 3.188 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.5981, allocations: 4 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.5983, allocations: 163.2 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5984, allocations: 0 / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.5988, allocations: 27.94 kB / 0.5596 GB, free: 2.996 MB / 395.1 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.001258/0.6001, allocations: 396 kB / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.6004, allocations: 59.92 kB / 0.5601 GB, free: 2.594 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.6004, allocations: 0 / 0.5601 GB, free: 2.594 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.6005, allocations: 32 kB / 0.5601 GB, free: 2.562 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.601, allocations: 23.83 kB / 0.5601 GB, free: 2.539 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.6016, allocations: 216.2 kB / 0.5603 GB, free: 2.297 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.6021, allocations: 0.7235 MB / 0.561 GB, free: 1.547 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.6022, allocations: 19.44 kB / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6022, allocations: 64 / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of Templates: time 0.006487/0.6087, allocations: 2.026 MB / 0.563 GB, free: 15.51 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches