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.001244/0.001244, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00148/0.00148, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.469/1.469, allocations: 230.3 MB / 258 MB, free: 8.184 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.2379/0.2379, allocations: 46.93 MB / 361.4 MB, free: 4.457 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.00239/0.00239, allocations: 87.84 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4144, allocations: 66.03 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003878/0.4183, allocations: 2.139 MB / 0.5637 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.4208, allocations: 1.415 MB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4209, allocations: 11.94 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.4212, allocations: 59.48 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.4217, allocations: 219 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.4231, allocations: 0.6176 MB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.4237, allocations: 366.9 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4239, allocations: 48.7 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.4241, allocations: 159.4 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.4244, allocations: 219.2 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.4245, allocations: 16 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.4246, allocations: 63.98 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4248, allocations: 155.4 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.425, allocations: 182.6 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.4255, allocations: 424.5 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4255, allocations: 0 / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4255, allocations: 3.938 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4255, allocations: 0 / 0.5676 GB, free: 14.43 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.001189/0.4267, allocations: 0.7562 MB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4268, allocations: 8.031 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.4272, allocations: 104.5 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.4279, allocations: 415.3 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4279, allocations: 8.359 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.428, allocations: 20.27 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.4284, allocations: 167.5 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4284, allocations: 0 / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4284, allocations: 8 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4284, allocations: 0 / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.4287, allocations: 119.9 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4298, allocations: 0.683 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.4302, allocations: 133.2 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4303, allocations: 65.81 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4303, allocations: 0 / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4304, allocations: 46.48 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.4304, allocations: 0 / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002095/0.4325, allocations: 0.7569 MB / 0.5708 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4326, allocations: 77.11 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4336, allocations: 0.9102 MB / 0.5717 GB, free: 9.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4337, allocations: 33.7 kB / 0.5718 GB, free: 9.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.4339, allocations: 268.3 kB / 0.572 GB, free: 9.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.434, allocations: 67.42 kB / 0.5721 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.4341, allocations: 45.69 kB / 0.5721 GB, free: 9.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4343, allocations: 366.8 kB / 0.5725 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.4346, allocations: 119.9 kB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4349, allocations: 125.6 kB / 0.5727 GB, free: 8.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.4355, allocations: 257.6 kB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4355, allocations: 0 / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007416/0.4362, allocations: 337 kB / 0.5733 GB, free: 8.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4362, allocations: 8 kB / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4363, allocations: 0 / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4363, allocations: 4 kB / 0.5733 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.4366, allocations: 59.88 kB / 0.5733 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4366, allocations: 4 kB / 0.5733 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.4368, allocations: 16.2 kB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.4368, allocations: 11.98 kB / 0.5734 GB, free: 8.25 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.0003077/0.4371, allocations: 229.5 kB / 0.5736 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4372, allocations: 67.58 kB / 0.5737 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.4382, allocations: 399.2 kB / 0.574 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4382, allocations: 4 kB / 0.574 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4382, allocations: 7.938 kB / 0.5741 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4382, allocations: 0 / 0.5741 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4399, allocations: 0.9181 MB / 0.5749 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4399, allocations: 4 kB / 0.575 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.4401, allocations: 51.95 kB / 0.575 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4401, allocations: 7.984 kB / 0.575 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4401, allocations: 3.984 kB / 0.575 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4401, allocations: 4 kB / 0.575 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4401, allocations: 3.938 kB / 0.575 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.441, allocations: 0.5099 MB / 0.5755 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4411, allocations: 67.61 kB / 0.5756 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4412, allocations: 4 kB / 0.5756 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.4414, allocations: 19.97 kB / 0.5756 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.4415, allocations: 27.91 kB / 0.5756 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4415, allocations: 8 kB / 0.5756 GB, free: 5.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008291/0.4424, allocations: 0.6591 MB / 0.5763 GB, free: 5.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4424, allocations: 0 / 0.5763 GB, free: 5.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.4428, allocations: 71.92 kB / 0.5764 GB, free: 5.121 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.001573/0.4443, allocations: 408.4 kB / 0.5767 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.445, allocations: 249.3 kB / 0.577 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.445, allocations: 0 / 0.577 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.4453, allocations: 139.8 kB / 0.5771 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.4459, allocations: 83.62 kB / 0.5772 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.4475, allocations: 1.017 MB / 0.5782 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.448, allocations: 0.8997 MB / 0.5791 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.4482, allocations: 99.19 kB / 0.5792 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4484, allocations: 43.42 kB / 0.5792 GB, free: 2.277 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4484, allocations: 0 / 0.5792 GB, free: 2.277 MB / 414.1 MB Notification: Performance of Templates: time 0.01032/0.4587, allocations: 4.628 MB / 0.5837 GB, free: 13.66 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/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: 5.274891605600715]