Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001351/0.001351, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001502/0.001502, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.203 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.2248/0.2248, allocations: 46.92 MB / 361.6 MB, free: 4.297 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.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_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_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.344, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003818/0.3478, allocations: 2.135 MB / 0.564 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.3502, allocations: 1.42 MB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3503, allocations: 7.938 kB / 0.5654 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3505, allocations: 59.48 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.351, allocations: 223 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3523, allocations: 0.6261 MB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3528, allocations: 358.8 kB / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.353, allocations: 52.69 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3532, allocations: 159.4 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.3535, allocations: 219.2 kB / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.3536, allocations: 16 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3537, allocations: 67.97 kB / 0.5671 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3539, allocations: 155.4 kB / 0.5672 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.354, allocations: 174.6 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.3546, allocations: 428.4 kB / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3546, allocations: 0 / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3546, allocations: 0 / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3546, allocations: 0 / 0.5678 GB, free: 14.33 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.001127/0.3557, allocations: 0.7601 MB / 0.5685 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3557, allocations: 8.031 kB / 0.5685 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.3562, allocations: 96.47 kB / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.3569, allocations: 423.2 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3569, allocations: 8.375 kB / 0.569 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.3569, allocations: 20.08 kB / 0.5691 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.3573, allocations: 152.9 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3573, allocations: 0 / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3573, allocations: 8 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3573, allocations: 0 / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.3576, allocations: 127.8 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3587, allocations: 0.6909 MB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.359, allocations: 117.2 kB / 0.5701 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3592, allocations: 65.81 kB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3592, allocations: 7.984 kB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3592, allocations: 38.5 kB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.3592, allocations: 0 / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002019/0.3612, allocations: 0.7646 MB / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3613, allocations: 85.05 kB / 0.5711 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3623, allocations: 0.9103 MB / 0.572 GB, free: 9.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3624, allocations: 25.7 kB / 0.572 GB, free: 9.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3626, allocations: 268.3 kB / 0.5722 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.3627, allocations: 71.42 kB / 0.5723 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.3628, allocations: 41.69 kB / 0.5723 GB, free: 9.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.363, allocations: 374.7 kB / 0.5727 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.3633, allocations: 115.9 kB / 0.5728 GB, free: 8.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3635, allocations: 128.4 kB / 0.5729 GB, free: 8.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.3641, allocations: 253.5 kB / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3641, allocations: 0 / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007209/0.3648, allocations: 345.2 kB / 0.5735 GB, free: 8.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3648, allocations: 7.984 kB / 0.5735 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3649, allocations: 4 kB / 0.5735 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3649, allocations: 3.938 kB / 0.5735 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3651, allocations: 51.95 kB / 0.5736 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3652, allocations: 224 / 0.5736 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3653, allocations: 23.97 kB / 0.5736 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3653, allocations: 11.94 kB / 0.5736 GB, free: 8.148 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.0002404/0.3656, allocations: 229.6 kB / 0.5738 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3657, allocations: 63.58 kB / 0.5739 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.3665, allocations: 391 kB / 0.5743 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3665, allocations: 4 kB / 0.5743 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3666, allocations: 0 / 0.5743 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3666, allocations: 0 / 0.5743 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.368, allocations: 0.9264 MB / 0.5752 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.368, allocations: 4 kB / 0.5752 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3683, allocations: 47.95 kB / 0.5752 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3683, allocations: 4.094 kB / 0.5752 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3683, allocations: 11.92 kB / 0.5752 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3683, allocations: 11.88 kB / 0.5752 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3683, allocations: 0 / 0.5752 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.3691, allocations: 0.506 MB / 0.5757 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3692, allocations: 63.61 kB / 0.5758 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.3693, allocations: 4 kB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.3695, allocations: 31.91 kB / 0.5758 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.3696, allocations: 19.97 kB / 0.5758 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3696, allocations: 7.984 kB / 0.5759 GB, free: 5.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007532/0.3704, allocations: 0.663 MB / 0.5765 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3704, allocations: 0 / 0.5765 GB, free: 5.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.3707, allocations: 63.94 kB / 0.5766 GB, free: 5.035 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.001477/0.3722, allocations: 415.8 kB / 0.577 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.3729, allocations: 251.8 kB / 0.5772 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3729, allocations: 3.938 kB / 0.5772 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3732, allocations: 135.8 kB / 0.5773 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.3738, allocations: 83.73 kB / 0.5774 GB, free: 4.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3754, allocations: 1.038 MB / 0.5784 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.3759, allocations: 0.8811 MB / 0.5793 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3761, allocations: 47.42 kB / 0.5793 GB, free: 2.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3761, allocations: 0 / 0.5793 GB, free: 2.289 MB / 414.1 MB Notification: Performance of Templates: time 0.00998/0.386, allocations: 6.391 MB / 0.5856 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 8.063201573910192]