Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006945/0.006945, allocations: 107.5 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.94 MB / 362.3 MB, free: 4.176 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3094, allocations: 66.08 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003953/0.3133, allocations: 2.134 MB / 0.5648 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3158, allocations: 1.415 MB / 0.5662 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.316, allocations: 7.938 kB / 0.5662 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.3163, allocations: 67.44 kB / 0.5663 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.3168, allocations: 215.1 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3182, allocations: 0.6178 MB / 0.5671 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.3187, allocations: 362.8 kB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.3189, allocations: 56.69 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.3192, allocations: 155.3 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3195, allocations: 219.2 kB / 0.5678 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3195, allocations: 12 kB / 0.5679 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3197, allocations: 75.89 kB / 0.5679 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3199, allocations: 151.5 kB / 0.5681 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.3201, allocations: 178.6 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.3206, allocations: 424.4 kB / 0.5686 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3206, allocations: 0 / 0.5686 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3206, allocations: 0 / 0.5686 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3206, allocations: 0 / 0.5686 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001143/0.3218, allocations: 0.7523 MB / 0.5694 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3218, allocations: 12.03 kB / 0.5694 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.3222, allocations: 104.5 kB / 0.5695 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.323, allocations: 423.2 kB / 0.5699 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.323, allocations: 4.375 kB / 0.5699 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.323, allocations: 20.25 kB / 0.5699 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.3234, allocations: 167.5 kB / 0.5701 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3234, allocations: 0 / 0.5701 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3234, allocations: 7.984 kB / 0.5701 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3234, allocations: 7.938 kB / 0.5701 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3237, allocations: 115.9 kB / 0.5702 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3249, allocations: 0.6869 MB / 0.5709 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3252, allocations: 129.2 kB / 0.571 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3253, allocations: 57.81 kB / 0.5711 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.3254, allocations: 11.98 kB / 0.5711 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3254, allocations: 34.56 kB / 0.5711 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3254, allocations: 0 / 0.5711 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002101/0.3275, allocations: 0.7646 MB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3276, allocations: 81.11 kB / 0.5719 GB, free: 10.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3287, allocations: 0.9064 MB / 0.5728 GB, free: 9.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3287, allocations: 29.7 kB / 0.5728 GB, free: 9.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.329, allocations: 272.3 kB / 0.5731 GB, free: 9.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.329, allocations: 63.44 kB / 0.5732 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.3291, allocations: 41.69 kB / 0.5732 GB, free: 9.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3293, allocations: 370.8 kB / 0.5736 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3296, allocations: 119.9 kB / 0.5737 GB, free: 8.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3299, allocations: 125.6 kB / 0.5738 GB, free: 8.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.3305, allocations: 257.6 kB / 0.574 GB, free: 8.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3305, allocations: 0 / 0.574 GB, free: 8.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007663/0.3313, allocations: 341 kB / 0.5744 GB, free: 8.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3313, allocations: 6.188 kB / 0.5744 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3313, allocations: 7.984 kB / 0.5744 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3313, allocations: 0 / 0.5744 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.3316, allocations: 55.95 kB / 0.5744 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3316, allocations: 7.922 kB / 0.5744 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3318, allocations: 19.97 kB / 0.5744 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3318, allocations: 12.22 kB / 0.5745 GB, free: 7.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002734/0.3321, allocations: 225.7 kB / 0.5747 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3322, allocations: 67.5 kB / 0.5747 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.3331, allocations: 391.3 kB / 0.5751 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3331, allocations: 4 kB / 0.5751 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3331, allocations: 0 / 0.5751 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3331, allocations: 4.094 kB / 0.5751 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3347, allocations: 0.9181 MB / 0.576 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3347, allocations: 4 kB / 0.576 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.3349, allocations: 63.89 kB / 0.5761 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3349, allocations: 0 / 0.5761 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3349, allocations: 7.984 kB / 0.5761 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3349, allocations: 0 / 0.5761 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3349, allocations: 0 / 0.5761 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.3358, allocations: 0.5198 MB / 0.5766 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3359, allocations: 63.61 kB / 0.5767 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.336, allocations: 8 kB / 0.5767 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3362, allocations: 19.97 kB / 0.5767 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.3363, allocations: 23.89 kB / 0.5767 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3363, allocations: 19.98 kB / 0.5767 GB, free: 5.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007889/0.3371, allocations: 0.6591 MB / 0.5774 GB, free: 4.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 0.5774 GB, free: 4.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.3375, allocations: 63.94 kB / 0.5774 GB, free: 4.859 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001522/0.339, allocations: 404.7 kB / 0.5778 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007088/0.3397, allocations: 255.6 kB / 0.5781 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3397, allocations: 0 / 0.5781 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.34, allocations: 131.8 kB / 0.5782 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.3407, allocations: 82.64 kB / 0.5783 GB, free: 4.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3424, allocations: 1.034 MB / 0.5793 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.3429, allocations: 0.885 MB / 0.5801 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3431, allocations: 43.42 kB / 0.5802 GB, free: 2.105 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3431, allocations: 0 / 0.5802 GB, free: 2.105 MB / 414.1 MB Notification: Performance of Templates: time 0.01077/0.3539, allocations: 6.4 MB / 0.5864 GB, free: 11.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.9636163108516484]