Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.002086/0.002086, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002309/0.002309, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 75.88 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 65.48 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003298/0.327, allocations: 1.596 MB / 0.559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3281, allocations: 0.5388 MB / 0.5596 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.3282, allocations: 4 kB / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.3285, allocations: 127.6 kB / 0.5597 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.3289, allocations: 123.6 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3292, allocations: 119.3 kB / 0.5599 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.3294, allocations: 95.8 kB / 0.56 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3295, allocations: 15.64 kB / 0.56 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.3296, allocations: 47.83 kB / 0.5601 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3298, allocations: 95.7 kB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3298, allocations: 4 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3299, allocations: 51.97 kB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.3299, allocations: 27.86 kB / 0.5602 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.33, allocations: 27.73 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3302, allocations: 122.2 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3302, allocations: 0 / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3302, allocations: 0 / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3302, allocations: 3.938 kB / 0.5604 GB, free: 4.477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005857/0.3308, allocations: 375 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3308, allocations: 12.03 kB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3309, allocations: 16.84 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3311, allocations: 162.4 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3311, allocations: 384 / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3311, allocations: 384 / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3313, allocations: 61.8 kB / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3313, allocations: 3.938 kB / 0.561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3313, allocations: 3.984 kB / 0.561 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3313, allocations: 0 / 0.561 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3314, allocations: 31.92 kB / 0.561 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3319, allocations: 256.5 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.332, allocations: 38.56 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.332, allocations: 20.94 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3321, allocations: 3.938 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3321, allocations: 34.56 kB / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3321, allocations: 0 / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009235/0.333, allocations: 257.3 kB / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.3331, allocations: 55.41 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3334, allocations: 275.8 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3334, allocations: 29.7 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.3335, allocations: 112.1 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3336, allocations: 31.81 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3336, allocations: 21.7 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3338, allocations: 334.8 kB / 0.5624 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.3339, allocations: 27.98 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.3339, allocations: 31.97 kB / 0.5625 GB, free: 2.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3341, allocations: 76.75 kB / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3341, allocations: 0 / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002365/0.3344, allocations: 109.6 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3344, allocations: 8 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3344, allocations: 4 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3344, allocations: 0 / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3345, allocations: 15.98 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3345, allocations: 4 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.3346, allocations: 4 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3346, allocations: 7.938 kB / 0.5627 GB, free: 1.918 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001347/0.3347, allocations: 143.1 kB / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.3347, allocations: 15.91 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.3351, allocations: 135 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3351, allocations: 4 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3351, allocations: 7.922 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3351, allocations: 0 / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.3357, allocations: 370.9 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3357, allocations: 0 / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.3357, allocations: 19.98 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3357, allocations: 0 / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3357, allocations: 11.97 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3357, allocations: 3.938 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3358, allocations: 4.469 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3361, allocations: 220.2 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3361, allocations: 11.91 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3361, allocations: 0 / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.3362, allocations: 7.938 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3362, allocations: 11.98 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3362, allocations: 4 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3365, allocations: 216.1 kB / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3365, allocations: 0 / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3367, allocations: 19.94 kB / 0.5639 GB, free: 0.6602 MB / 398.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 (8): * Single equations (assignments): 8 * 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.001889/0.3386, allocations: 493.7 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3389, allocations: 71.95 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3389, allocations: 0 / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.339, allocations: 43.91 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3394, allocations: 27.64 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.34, allocations: 320.3 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3401, allocations: 109.1 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.3402, allocations: 20.95 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.3402, allocations: 19.38 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3402, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004813/0.345, allocations: 1.488 MB / 0.5664 GB, free: 14.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.313851296901703]