Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 183.6 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.513/1.513, 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.0008651/0.0008651, allocations: 90.42 kB / 267.1 MB, free: 9.281 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.3293/0.3293, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.4321, allocations: 87.38 MB / 0.5581 GB, free: 1.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.4323, allocations: 75.91 kB / 0.5582 GB, free: 1.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.4425, allocations: 4.413 MB / 0.5625 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4425, allocations: 0 / 0.5625 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.4425, allocations: 4 kB / 0.5625 GB, free: 13.19 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.0003462/0.4429, allocations: 389.4 kB / 0.5629 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4429, allocations: 12.03 kB / 0.5629 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.4429, allocations: 7.906 kB / 0.5629 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.4432, allocations: 192.8 kB / 0.5631 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4432, allocations: 8 kB / 0.5631 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4432, allocations: 0 / 0.5631 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4433, allocations: 63.98 kB / 0.5632 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4434, allocations: 1.375 kB / 0.5632 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4434, allocations: 4 kB / 0.5632 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4434, allocations: 4 kB / 0.5632 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.086e-05/0.4435, allocations: 27.92 kB / 0.5632 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.4439, allocations: 316.8 kB / 0.5635 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.444, allocations: 46.56 kB / 0.5636 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.444, allocations: 12.86 kB / 0.5636 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.444, allocations: 4 kB / 0.5636 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4441, allocations: 34.5 kB / 0.5636 GB, free: 11.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4441, allocations: 0 / 0.5636 GB, free: 11.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.4446, allocations: 161.3 kB / 0.5638 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.4446, allocations: 86.41 kB / 0.5638 GB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4447, allocations: 127 kB / 0.564 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4448, allocations: 25.7 kB / 0.564 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.4448, allocations: 96.08 kB / 0.5641 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4448, allocations: 23.7 kB / 0.5641 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4448, allocations: 0 / 0.5641 GB, free: 11.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.445, allocations: 318.8 kB / 0.5644 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.445, allocations: 24 kB / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.4451, allocations: 37.78 kB / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.4451, allocations: 19.98 kB / 0.5645 GB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4451, allocations: 0 / 0.5645 GB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001267/0.4453, allocations: 89.81 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4453, allocations: 11.22 kB / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4453, allocations: 0 / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4453, allocations: 4.609 kB / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4454, allocations: 31.95 kB / 0.5646 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4455, allocations: 4.062 kB / 0.5646 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.4455, allocations: 15.98 kB / 0.5646 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4456, allocations: 4 kB / 0.5646 GB, free: 10.82 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 6.263e-05/0.4456, allocations: 104.9 kB / 0.5647 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.4457, allocations: 7.906 kB / 0.5647 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.4459, allocations: 118.1 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4459, allocations: 7.953 kB / 0.5649 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4459, allocations: 3.938 kB / 0.5649 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4459, allocations: 0 / 0.5649 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.4463, allocations: 374.5 kB / 0.5652 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4463, allocations: 0 / 0.5652 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.4464, allocations: 19.98 kB / 0.5652 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4464, allocations: 11.89 kB / 0.5653 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4464, allocations: 4 kB / 0.5653 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4464, allocations: 0 / 0.5653 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4464, allocations: 0 / 0.5653 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.4466, allocations: 187.4 kB / 0.5654 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4467, allocations: 89 kB / 0.5655 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.4467, allocations: 7.953 kB / 0.5655 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.4468, allocations: 15.98 kB / 0.5655 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4468, allocations: 8.125 kB / 0.5656 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4468, allocations: 4 kB / 0.5656 GB, free: 9.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.393e-05/0.4469, allocations: 107.3 kB / 0.5657 GB, free: 9.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4469, allocations: 0 / 0.5657 GB, free: 9.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.4472, allocations: 24 kB / 0.5657 GB, free: 9.652 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.0008259/0.448, allocations: 416.9 kB / 0.5661 GB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.4481, allocations: 59.95 kB / 0.5661 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4482, allocations: 0 / 0.5661 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.4482, allocations: 31.94 kB / 0.5662 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.4484, allocations: 11.98 kB / 0.5662 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.4487, allocations: 136.7 kB / 0.5663 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.449, allocations: 0.7082 MB / 0.567 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.244e-05/0.4491, allocations: 16.66 kB / 0.567 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.4491, allocations: 19.42 kB / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4491, allocations: 0 / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of Templates: time 0.003742/0.4529, allocations: 1.469 MB / 0.5685 GB, free: 6.824 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches