Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001321/0.001321, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001419/0.001419, allocations: 212.4 kB / 25.13 MB, free: 3.586 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.45/1.45, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2256/0.2256, allocations: 46.93 MB / 362 MB, free: 4.305 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.00256/0.00256, allocations: 83.84 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3421, allocations: 66.08 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004127/0.3462, allocations: 2.114 MB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.3485, allocations: 1.318 MB / 0.5657 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3487, allocations: 7.938 kB / 0.5657 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3489, allocations: 51.56 kB / 0.5657 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.3496, allocations: 223 kB / 0.566 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3507, allocations: 465.4 kB / 0.5664 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.3512, allocations: 326.9 kB / 0.5667 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3513, allocations: 56.67 kB / 0.5668 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.3516, allocations: 147.4 kB / 0.5669 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.3519, allocations: 207.2 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.352, allocations: 16 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.3521, allocations: 75.95 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3523, allocations: 147.4 kB / 0.5673 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3525, allocations: 174.6 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.353, allocations: 416.6 kB / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.353, allocations: 0 / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.353, allocations: 0 / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3531, allocations: 0 / 0.5679 GB, free: 14.55 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.001134/0.3542, allocations: 0.7484 MB / 0.5686 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3542, allocations: 12.03 kB / 0.5686 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.3546, allocations: 96.52 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.3553, allocations: 407.3 kB / 0.5691 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3553, allocations: 12.38 kB / 0.5691 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.3554, allocations: 12.31 kB / 0.5691 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.3557, allocations: 155.5 kB / 0.5693 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3557, allocations: 3.953 kB / 0.5693 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3558, allocations: 0 / 0.5693 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3558, allocations: 4 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.3561, allocations: 95.92 kB / 0.5694 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.3572, allocations: 0.6518 MB / 0.57 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3574, allocations: 109.2 kB / 0.5701 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3576, allocations: 57.8 kB / 0.5702 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.3576, allocations: 11.98 kB / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.3577, allocations: 38.5 kB / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.3577, allocations: 224 / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002019/0.3597, allocations: 0.6948 MB / 0.5709 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3598, allocations: 81.11 kB / 0.571 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3609, allocations: 0.9023 MB / 0.5719 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3609, allocations: 33.7 kB / 0.5719 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.3611, allocations: 264.3 kB / 0.5722 GB, free: 9.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.3612, allocations: 67.42 kB / 0.5722 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.3613, allocations: 41.7 kB / 0.5723 GB, free: 9.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.3615, allocations: 370.8 kB / 0.5726 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.3618, allocations: 91.92 kB / 0.5727 GB, free: 9.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.3621, allocations: 109.6 kB / 0.5728 GB, free: 9.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.3626, allocations: 213.5 kB / 0.573 GB, free: 9.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3626, allocations: 0 / 0.573 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007397/0.3633, allocations: 305.2 kB / 0.5733 GB, free: 8.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3633, allocations: 4 kB / 0.5733 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3633, allocations: 4 kB / 0.5733 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3634, allocations: 4 kB / 0.5733 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.3636, allocations: 59.88 kB / 0.5734 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3637, allocations: 0 / 0.5734 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3638, allocations: 23.97 kB / 0.5734 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3638, allocations: 7.984 kB / 0.5734 GB, free: 8.676 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.0002867/0.3641, allocations: 213.7 kB / 0.5736 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3642, allocations: 67.58 kB / 0.5737 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.3651, allocations: 342.3 kB / 0.574 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3651, allocations: 4 kB / 0.574 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3651, allocations: 3.938 kB / 0.574 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3651, allocations: 0 / 0.574 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3666, allocations: 0.86 MB / 0.5748 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.3666, allocations: 4.375 kB / 0.5748 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3668, allocations: 52.05 kB / 0.5749 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3668, allocations: 3.938 kB / 0.5749 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3669, allocations: 11.98 kB / 0.5749 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3669, allocations: 3.938 kB / 0.5749 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3669, allocations: 7.938 kB / 0.5749 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.3676, allocations: 484.5 kB / 0.5754 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3677, allocations: 71.61 kB / 0.5755 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.3678, allocations: 0 / 0.5755 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.368, allocations: 19.98 kB / 0.5755 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.3681, allocations: 27.89 kB / 0.5755 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3681, allocations: 8 kB / 0.5755 GB, free: 6.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007925/0.3689, allocations: 0.6552 MB / 0.5761 GB, free: 5.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 0.5761 GB, free: 5.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3693, allocations: 60 kB / 0.5762 GB, free: 5.727 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.0015/0.3708, allocations: 401.7 kB / 0.5766 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006458/0.3714, allocations: 211.8 kB / 0.5768 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3714, allocations: 4 kB / 0.5768 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.3717, allocations: 115.8 kB / 0.5769 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.3723, allocations: 80.38 kB / 0.577 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3739, allocations: 0.9735 MB / 0.5779 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.3746, allocations: 0.884 MB / 0.5788 GB, free: 3.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.3747, allocations: 87.08 kB / 0.5789 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3749, allocations: 35.42 kB / 0.5789 GB, free: 3.027 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3749, allocations: 0 / 0.5789 GB, free: 3.027 MB / 414.1 MB Notification: Performance of Templates: time 0.01008/0.3849, allocations: 4.502 MB / 0.5833 GB, free: 14.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 5.048246321966872]