Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001384, 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.784/1.784, 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.001091/0.001091, allocations: 78.66 kB / 261.7 MB, free: 1.695 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.202/0.202, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.966e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6277, allocations: 86.71 MB / 0.5506 GB, free: 8.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.6281, allocations: 73.88 kB / 0.5507 GB, free: 8.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009643/0.6377, allocations: 4.29 MB / 0.5549 GB, free: 4.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6377, allocations: 0 / 0.5549 GB, free: 4.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.6378, allocations: 4 kB / 0.5549 GB, free: 4.871 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.0003778/0.6382, allocations: 378.2 kB / 0.5552 GB, free: 4.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6382, allocations: 12.03 kB / 0.5552 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.6383, allocations: 11.86 kB / 0.5553 GB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.6385, allocations: 195.1 kB / 0.5554 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.6386, allocations: 0 / 0.5554 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.6386, allocations: 0 / 0.5554 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.6387, allocations: 23.09 kB / 0.5555 GB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6389, allocations: 61.22 kB / 0.5555 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6389, allocations: 7.922 kB / 0.5555 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.6389, allocations: 0 / 0.5555 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6389, allocations: 4 kB / 0.5555 GB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.6394, allocations: 287.6 kB / 0.5558 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.6395, allocations: 33.2 kB / 0.5558 GB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.6395, allocations: 16.42 kB / 0.5559 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.6396, allocations: 4 kB / 0.5559 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6396, allocations: 34.09 kB / 0.5559 GB, free: 3.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.6396, allocations: 0 / 0.5559 GB, free: 3.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005106/0.6401, allocations: 150.1 kB / 0.556 GB, free: 3.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.6402, allocations: 81.11 kB / 0.5561 GB, free: 3.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6403, allocations: 127.6 kB / 0.5562 GB, free: 3.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.6403, allocations: 26.36 kB / 0.5563 GB, free: 3.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.6403, allocations: 106.5 kB / 0.5564 GB, free: 3.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.6404, allocations: 15.72 kB / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.6404, allocations: 0 / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.6404, allocations: 322.1 kB / 0.5567 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.6405, allocations: 19.08 kB / 0.5567 GB, free: 2.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.6405, allocations: 36.64 kB / 0.5567 GB, free: 2.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.6406, allocations: 34.83 kB / 0.5568 GB, free: 2.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6406, allocations: 0 / 0.5568 GB, free: 2.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001274/0.6407, allocations: 80.16 kB / 0.5569 GB, free: 2.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6407, allocations: 8 kB / 0.5569 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6408, allocations: 3.984 kB / 0.5569 GB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6408, allocations: 0 / 0.5569 GB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6409, allocations: 19.98 kB / 0.5569 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.6409, allocations: 8.266 kB / 0.5569 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.641, allocations: 15.98 kB / 0.5569 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.641, allocations: 4 kB / 0.5569 GB, free: 2.719 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 7.027e-05/0.6411, allocations: 104.9 kB / 0.557 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.6411, allocations: 8.047 kB / 0.557 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.6413, allocations: 103.4 kB / 0.5571 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6413, allocations: 0 / 0.5571 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6414, allocations: 4 kB / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6414, allocations: 7.953 kB / 0.5571 GB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.6417, allocations: 344.1 kB / 0.5575 GB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6417, allocations: 0 / 0.5575 GB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.6418, allocations: 27.92 kB / 0.5575 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6418, allocations: 0 / 0.5575 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6418, allocations: 4 kB / 0.5575 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6418, allocations: 0 / 0.5575 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.6418, allocations: 7.953 kB / 0.5575 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.642, allocations: 184.7 kB / 0.5577 GB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.642, allocations: 89 kB / 0.5578 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.642, allocations: 0 / 0.5578 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.6421, allocations: 11.98 kB / 0.5578 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.6422, allocations: 15.31 kB / 0.5578 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.6422, allocations: 4 kB / 0.5578 GB, free: 1.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.6423, allocations: 109.6 kB / 0.5579 GB, free: 1.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6423, allocations: 0 / 0.5579 GB, free: 1.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.6425, allocations: 24 kB / 0.5579 GB, free: 1.695 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.0008413/0.6434, allocations: 379.3 kB / 0.5583 GB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.6435, allocations: 52.48 kB / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6435, allocations: 0 / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.6436, allocations: 29.75 kB / 0.5584 GB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.6438, allocations: 19.61 kB / 0.5584 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.6441, allocations: 133.9 kB / 0.5585 GB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.6443, allocations: 0.7079 MB / 0.5592 GB, free: 440 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.717e-05/0.6443, allocations: 16.66 kB / 0.5592 GB, free: 424 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.6444, allocations: 22.23 kB / 0.5592 GB, free: 404 kB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6444, allocations: 4 kB / 0.5592 GB, free: 400 kB / 362.7 MB Notification: Performance of Templates: time 0.003996/0.6484, allocations: 1.41 MB / 0.5606 GB, free: 15 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches