Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000871/0.0008711, allocations: 92.25 kB / 267.1 MB, free: 9.266 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.3898/0.3898, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.203e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.5037, allocations: 86.4 MB / 0.5572 GB, free: 17.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.504, allocations: 70.64 kB / 0.5573 GB, free: 17.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008737/0.5127, allocations: 3.763 MB / 0.5609 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5128, allocations: 0 / 0.5609 GB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.5128, allocations: 0 / 0.5609 GB, free: 15.14 MB / 394.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.0002697/0.513, allocations: 368.4 kB / 0.5613 GB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5131, allocations: 8.031 kB / 0.5613 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.5131, allocations: 11.17 kB / 0.5613 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.5133, allocations: 196.8 kB / 0.5615 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5133, allocations: 4 kB / 0.5615 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5134, allocations: 0 / 0.5615 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5135, allocations: 75.19 kB / 0.5616 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5135, allocations: 0 / 0.5616 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5135, allocations: 7.812 kB / 0.5616 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5135, allocations: 1.547 kB / 0.5616 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.5136, allocations: 22.64 kB / 0.5616 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.5139, allocations: 299.3 kB / 0.5619 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.514, allocations: 54.61 kB / 0.5619 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.5141, allocations: 24.48 kB / 0.562 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.5141, allocations: 0 / 0.562 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.5141, allocations: 35.97 kB / 0.562 GB, free: 14.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.5141, allocations: 0 / 0.562 GB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003886/0.5145, allocations: 128.8 kB / 0.5621 GB, free: 13.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.5146, allocations: 88.81 kB / 0.5622 GB, free: 13.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.5147, allocations: 129.9 kB / 0.5623 GB, free: 13.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5147, allocations: 29.7 kB / 0.5623 GB, free: 13.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.5147, allocations: 90.7 kB / 0.5624 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.5147, allocations: 21.27 kB / 0.5625 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5147, allocations: 3.688 kB / 0.5625 GB, free: 13.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.5148, allocations: 320.5 kB / 0.5628 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.5148, allocations: 19.59 kB / 0.5628 GB, free: 13.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.5149, allocations: 27.39 kB / 0.5628 GB, free: 13.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.5149, allocations: 13.39 kB / 0.5628 GB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5149, allocations: 0 / 0.5628 GB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.636e-05/0.515, allocations: 77.91 kB / 0.5629 GB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.515, allocations: 8.781 kB / 0.5629 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.515, allocations: 320 / 0.5629 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.515, allocations: 0 / 0.5629 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.5152, allocations: 16.34 kB / 0.5629 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5152, allocations: 8 kB / 0.5629 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.5152, allocations: 12.95 kB / 0.5629 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.5152, allocations: 3.984 kB / 0.5629 GB, free: 13.1 MB / 394.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 4.387e-05/0.5153, allocations: 110.3 kB / 0.5631 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.5153, allocations: 7.906 kB / 0.5631 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.5155, allocations: 98.33 kB / 0.5632 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5155, allocations: 0 / 0.5632 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5155, allocations: 8.781 kB / 0.5632 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5155, allocations: 0 / 0.5632 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.5158, allocations: 356.3 kB / 0.5635 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5158, allocations: 0 / 0.5635 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.5159, allocations: 18.98 kB / 0.5635 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5159, allocations: 0 / 0.5635 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.5159, allocations: 4 kB / 0.5635 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5159, allocations: 0 / 0.5635 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5159, allocations: 13.34 kB / 0.5635 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.516, allocations: 173.6 kB / 0.5637 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.516, allocations: 82.75 kB / 0.5638 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.5161, allocations: 7.812 kB / 0.5638 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.5161, allocations: 6.328 kB / 0.5638 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.5162, allocations: 7.141 kB / 0.5638 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5162, allocations: 3.953 kB / 0.5638 GB, free: 12.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.5163, allocations: 115.3 kB / 0.5639 GB, free: 12.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5163, allocations: 0 / 0.5639 GB, free: 12.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.5165, allocations: 29.33 kB / 0.5639 GB, free: 12.12 MB / 394.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.0007582/0.5173, allocations: 420.5 kB / 0.5643 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.5174, allocations: 44.92 kB / 0.5644 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.5174, allocations: 0 / 0.5644 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.5174, allocations: 28.94 kB / 0.5644 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.5176, allocations: 6.719 kB / 0.5644 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.5179, allocations: 120.2 kB / 0.5645 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.518, allocations: 0.6963 MB / 0.5652 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.5181, allocations: 23.14 kB / 0.5652 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5181, allocations: 19.38 kB / 0.5653 GB, free: 10.87 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5181, allocations: 0 / 0.5653 GB, free: 10.87 MB / 394.7 MB Notification: Performance of Templates: time 0.003499/0.5216, allocations: 1.42 MB / 0.5666 GB, free: 10.02 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches