Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003205/0.3292, allocations: 1.61 MB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3303, allocations: 0.5339 MB / 0.5639 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.3304, allocations: 4 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.331, allocations: 451.1 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.3316, allocations: 299.3 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.3321, allocations: 179.4 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3323, allocations: 171.6 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3324, allocations: 8 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3326, allocations: 111.8 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.3329, allocations: 243.5 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3329, allocations: 0 / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.333, allocations: 31.94 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3331, allocations: 87.62 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.3332, allocations: 63.31 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.3336, allocations: 265 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3336, allocations: 0 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.096e-05/0.3336, allocations: 3.984 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3336, allocations: 0 / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008179/0.3344, allocations: 0.5621 MB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3345, allocations: 8.031 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.3345, allocations: 48.59 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.3349, allocations: 250.8 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.3349, allocations: 384 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.3349, allocations: 8.375 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3351, allocations: 46.8 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3351, allocations: 0 / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3351, allocations: 4 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3351, allocations: 0 / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.3352, allocations: 27.97 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.3357, allocations: 332.4 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3358, allocations: 34.58 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.3358, allocations: 12.91 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3359, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3359, allocations: 34.56 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.3359, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002951/0.3362, allocations: 109.3 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3362, allocations: 55.41 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.3372, allocations: 0.8613 MB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.3373, allocations: 33.77 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.3375, allocations: 212 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3376, allocations: 7.938 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3376, allocations: 17.72 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.3378, allocations: 358.7 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.3379, allocations: 15.98 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.3379, allocations: 4 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.338, allocations: 36.83 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.338, allocations: 0 / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.3382, allocations: 101.4 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3382, allocations: 10.66 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3382, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3382, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.3383, allocations: 7.984 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3383, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3384, allocations: 4 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3384, allocations: 4 kB / 0.5688 GB, free: 12.79 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.3386, allocations: 217.7 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.3387, allocations: 43.72 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3389, allocations: 108.7 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3389, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3389, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3389, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.3392, allocations: 241.1 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3392, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.3393, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.3393, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3393, allocations: 4.031 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3393, allocations: 0 / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3393, allocations: 0 / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3395, allocations: 195.2 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.3396, allocations: 39.66 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3396, allocations: 0 / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.3397, allocations: 0 / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.3397, allocations: 7.984 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3397, allocations: 0 / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000714/0.3404, allocations: 0.6511 MB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3404, allocations: 4.031 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3407, allocations: 23.94 kB / 0.5703 GB, free: 11.2 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.3421, allocations: 371 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.3423, allocations: 27.98 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3423, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.3423, allocations: 11.98 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3427, allocations: 29.89 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.344, allocations: 0.8237 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3442, allocations: 215.5 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3442, allocations: 15.44 kB / 0.5718 GB, free: 9.816 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3442, allocations: 4 kB / 0.5718 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Templates: time 0.007512/0.3518, allocations: 3.638 MB / 0.5753 GB, free: 6.168 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.655710379010998]