Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001789/0.001789, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002444/0.002444, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2362/0.2362, allocations: 46.88 MB / 361.1 MB, free: 4.621 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") [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.002517/0.002517, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3102, allocations: 65.99 MB / 0.5612 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003739/0.314, allocations: 2.072 MB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3162, allocations: 1.146 MB / 0.5643 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3163, allocations: 4 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.3168, allocations: 267.1 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.3173, allocations: 255.1 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3188, allocations: 0.6603 MB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.3193, allocations: 350.9 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3195, allocations: 55.38 kB / 0.5659 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3197, allocations: 147.4 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.32, allocations: 227.2 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3201, allocations: 12 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3202, allocations: 79.95 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3204, allocations: 99.55 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3205, allocations: 123 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.3209, allocations: 342.3 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3209, allocations: 0 / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3209, allocations: 7.938 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3209, allocations: 0 / 0.5669 GB, free: 15.18 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009158/0.3219, allocations: 0.6685 MB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3219, allocations: 8.031 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.322, allocations: 48.61 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.3224, allocations: 338.4 kB / 0.5679 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3224, allocations: 8.375 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.3224, allocations: 12.38 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3227, allocations: 130.1 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3227, allocations: 192 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3227, allocations: 11.94 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3227, allocations: 0 / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.323, allocations: 91.88 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.3237, allocations: 0.5003 MB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3239, allocations: 110.5 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.324, allocations: 36.83 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.324, allocations: 15.92 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.324, allocations: 30.56 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3241, allocations: 0 / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.3251, allocations: 451 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3252, allocations: 59.53 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.3258, allocations: 0.5721 MB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3259, allocations: 29.64 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.326, allocations: 204.4 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.3261, allocations: 63.47 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.3262, allocations: 33.7 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3263, allocations: 358.8 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3265, allocations: 63.97 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3266, allocations: 67.95 kB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3269, allocations: 163.1 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3269, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004396/0.3274, allocations: 237.2 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3274, allocations: 4 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3274, allocations: 4 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3274, allocations: 0 / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3276, allocations: 31.98 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3276, allocations: 0 / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.3276, allocations: 11.98 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3277, allocations: 11.88 kB / 0.5711 GB, free: 10.62 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 (17): * Single equations (assignments): 17 * 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.0001982/0.3279, allocations: 177.8 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.3279, allocations: 43.66 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.3285, allocations: 285.6 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3285, allocations: 0 / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3285, allocations: 3.938 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3285, allocations: 3.984 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.3295, allocations: 0.6764 MB / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3295, allocations: 0 / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3296, allocations: 35.97 kB / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3296, allocations: 4 kB / 0.5723 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3296, allocations: 4 kB / 0.5723 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3296, allocations: 0 / 0.5723 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3296, allocations: 0 / 0.5723 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.3301, allocations: 339 kB / 0.5726 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.3302, allocations: 112.8 kB / 0.5727 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3303, allocations: 12 kB / 0.5727 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.3304, allocations: 0 / 0.5727 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.3304, allocations: 15.98 kB / 0.5727 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3304, allocations: 7.938 kB / 0.5727 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.3309, allocations: 427.1 kB / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3309, allocations: 0 / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.3312, allocations: 55.92 kB / 0.5732 GB, free: 8.34 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 (17): * Single equations (assignments): 17 * 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.002762/0.334, allocations: 0.694 MB / 0.5739 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.3344, allocations: 155.8 kB / 0.574 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3344, allocations: 4 kB / 0.574 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3346, allocations: 90.38 kB / 0.5741 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.3351, allocations: 72.39 kB / 0.5742 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3363, allocations: 0.7399 MB / 0.5749 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.3368, allocations: 0.826 MB / 0.5757 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.3369, allocations: 65.88 kB / 0.5758 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.337, allocations: 35.42 kB / 0.5758 GB, free: 5.918 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.337, allocations: 0 / 0.5758 GB, free: 5.918 MB / 414.1 MB Notification: Performance of Templates: time 0.007964/0.345, allocations: 3.433 MB / 0.5792 GB, free: 2.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.086265221703798]