Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009404/0.0009403, allocations: 90.62 kB / 261.7 MB, free: 1.684 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.2379/0.2379, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.928e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5999, allocations: 86.47 MB / 0.5504 GB, free: 8.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6003, allocations: 75.36 kB / 0.5504 GB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009507/0.6098, allocations: 4.193 MB / 0.5545 GB, free: 4.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6098, allocations: 0 / 0.5545 GB, free: 4.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.6098, allocations: 0 / 0.5545 GB, free: 4.984 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003491/0.6102, allocations: 385.8 kB / 0.5549 GB, free: 4.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6102, allocations: 16.03 kB / 0.5549 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.6103, allocations: 15.86 kB / 0.5549 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.6105, allocations: 198.7 kB / 0.5551 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6105, allocations: 11.97 kB / 0.5551 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6105, allocations: 0 / 0.5551 GB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.563e-05/0.6106, allocations: 19.12 kB / 0.5552 GB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.158e-05/0.6107, allocations: 49.38 kB / 0.5552 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6107, allocations: 3.938 kB / 0.5552 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6107, allocations: 0 / 0.5552 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6108, allocations: 3.938 kB / 0.5552 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.6111, allocations: 294.6 kB / 0.5555 GB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.526e-05/0.6112, allocations: 38.31 kB / 0.5555 GB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.6112, allocations: 16.8 kB / 0.5555 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.6113, allocations: 3.375 kB / 0.5555 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.6113, allocations: 34.56 kB / 0.5556 GB, free: 3.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.6113, allocations: 0 / 0.5556 GB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004682/0.6117, allocations: 153.8 kB / 0.5557 GB, free: 3.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.6118, allocations: 55.34 kB / 0.5558 GB, free: 3.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.6119, allocations: 158.6 kB / 0.5559 GB, free: 3.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.6119, allocations: 29.7 kB / 0.556 GB, free: 3.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.612, allocations: 98.39 kB / 0.5561 GB, free: 3.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.612, allocations: 23.64 kB / 0.5561 GB, free: 3.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.612, allocations: 0 / 0.5561 GB, free: 3.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.6121, allocations: 329.6 kB / 0.5564 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.6121, allocations: 18.89 kB / 0.5564 GB, free: 2.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.6121, allocations: 23.23 kB / 0.5564 GB, free: 2.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.6122, allocations: 27.2 kB / 0.5565 GB, free: 2.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6122, allocations: 0 / 0.5565 GB, free: 2.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/0.6123, allocations: 84.09 kB / 0.5565 GB, free: 2.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6123, allocations: 4 kB / 0.5565 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6123, allocations: 0 / 0.5565 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6123, allocations: 4 kB / 0.5565 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.6125, allocations: 23.92 kB / 0.5566 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.6125, allocations: 3.953 kB / 0.5566 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.6126, allocations: 19.98 kB / 0.5566 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.6126, allocations: 0 / 0.5566 GB, free: 2.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.63e-05/0.6126, allocations: 105 kB / 0.5567 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.6127, allocations: 11.81 kB / 0.5567 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.6128, allocations: 91.66 kB / 0.5568 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6129, allocations: 0 / 0.5568 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6129, allocations: 4 kB / 0.5568 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6129, allocations: 7.938 kB / 0.5568 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.6132, allocations: 355 kB / 0.5571 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6132, allocations: 0 / 0.5571 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.6133, allocations: 31.17 kB / 0.5572 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6133, allocations: 0 / 0.5572 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.6133, allocations: 0 / 0.5572 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.6133, allocations: 0 / 0.5572 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6133, allocations: 3.953 kB / 0.5572 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.6134, allocations: 193.6 kB / 0.5574 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.6135, allocations: 92.75 kB / 0.5574 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.6135, allocations: 0 / 0.5574 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.6136, allocations: 19.98 kB / 0.5575 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.6137, allocations: 3.953 kB / 0.5575 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.6137, allocations: 7.984 kB / 0.5575 GB, free: 1.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.042e-05/0.6137, allocations: 124.6 kB / 0.5576 GB, free: 1.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6138, allocations: 4 kB / 0.5576 GB, free: 1.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.614, allocations: 16 kB / 0.5576 GB, free: 1.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0007175/0.6147, allocations: 329.4 kB / 0.5579 GB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.6148, allocations: 61.08 kB / 0.558 GB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6148, allocations: 4 kB / 0.558 GB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.6149, allocations: 30.92 kB / 0.558 GB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.6151, allocations: 11.88 kB / 0.558 GB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.6154, allocations: 161.2 kB / 0.5582 GB, free: 1.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.6156, allocations: 0.7078 MB / 0.5589 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.6157, allocations: 28.64 kB / 0.5589 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.6157, allocations: 11.44 kB / 0.5589 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6157, allocations: 0 / 0.5589 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of Templates: time 0.003452/0.6192, allocations: 1.205 MB / 0.5601 GB, free: 15.33 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches