Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001362/0.001362, allocations: 75.73 kB / 21.25 MB, free: 0.543 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.001496/0.001496, allocations: 160.8 kB / 24.51 MB, free: 3.715 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 9.027 MB / 190.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.198/0.198, allocations: 32.8 MB / 294.1 MB, free: 40 kB / 270.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [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.002247/0.002247, allocations: 67.89 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 65.45 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003174/0.3523, allocations: 1.67 MB / 0.4958 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.3532, allocations: 0.5664 MB / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.3532, allocations: 0 / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.3538, allocations: 458.7 kB / 0.4968 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.3542, allocations: 292.1 kB / 0.4971 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.3546, allocations: 176.1 kB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3548, allocations: 176.6 kB / 0.4974 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3549, allocations: 14.31 kB / 0.4974 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.355, allocations: 118.3 kB / 0.4975 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.3552, allocations: 257.7 kB / 0.4978 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3552, allocations: 2.938 kB / 0.4978 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.3553, allocations: 50.42 kB / 0.4978 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.3554, allocations: 86.95 kB / 0.4979 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3555, allocations: 69.66 kB / 0.498 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.3557, allocations: 288.1 kB / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3557, allocations: 0 / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3557, allocations: 3.938 kB / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3557, allocations: 0 / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005396/0.3563, allocations: 0.5907 MB / 0.4988 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3563, allocations: 8.812 kB / 0.4988 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.3564, allocations: 47.73 kB / 0.4989 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3566, allocations: 245.3 kB / 0.4991 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.3566, allocations: 384 / 0.4991 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3566, allocations: 10.91 kB / 0.4991 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3567, allocations: 75.56 kB / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3568, allocations: 0 / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3568, allocations: 0 / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3568, allocations: 0 / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.3569, allocations: 37.52 kB / 0.4992 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3572, allocations: 346.2 kB / 0.4996 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.3573, allocations: 45.92 kB / 0.4996 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3574, allocations: 18.42 kB / 0.4996 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3574, allocations: 0 / 0.4996 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.3574, allocations: 37.44 kB / 0.4997 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.3574, allocations: 0 / 0.4997 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008434/0.3582, allocations: 338.8 kB / 0.5 GB, free: 28.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.3583, allocations: 51.41 kB / 0.5 GB, free: 28.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.3589, allocations: 0.8638 MB / 0.5009 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3589, allocations: 28.89 kB / 0.5009 GB, free: 27.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.359, allocations: 217.9 kB / 0.5011 GB, free: 27.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.359, allocations: 26.55 kB / 0.5012 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3591, allocations: 20.12 kB / 0.5012 GB, free: 27.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.3592, allocations: 365.2 kB / 0.5015 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.3592, allocations: 30.88 kB / 0.5015 GB, free: 27.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.3593, allocations: 34.34 kB / 0.5016 GB, free: 27.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3595, allocations: 70.66 kB / 0.5016 GB, free: 27.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3595, allocations: 3.156 kB / 0.5017 GB, free: 27.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002348/0.3597, allocations: 152.7 kB / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3597, allocations: 7.031 kB / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3597, allocations: 3.25 kB / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3597, allocations: 0 / 0.5018 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3598, allocations: 20.05 kB / 0.5018 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3599, allocations: 4.25 kB / 0.5018 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.3599, allocations: 6.578 kB / 0.5018 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3599, allocations: 3.25 kB / 0.5018 GB, free: 27.05 MB / 446.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.0001792/0.3601, allocations: 214.7 kB / 0.502 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.3602, allocations: 41.88 kB / 0.5021 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.3605, allocations: 178.9 kB / 0.5023 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3605, allocations: 3.125 kB / 0.5023 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3605, allocations: 3.938 kB / 0.5023 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3605, allocations: 0 / 0.5023 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3611, allocations: 467.6 kB / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3611, allocations: 3.938 kB / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.3612, allocations: 21.11 kB / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3612, allocations: 6.625 kB / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3612, allocations: 0 / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3612, allocations: 2.781 kB / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3612, allocations: 0 / 0.5027 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3615, allocations: 253 kB / 0.503 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.3616, allocations: 34.56 kB / 0.503 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3616, allocations: 6.312 kB / 0.503 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.3617, allocations: 5.859 kB / 0.503 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.3617, allocations: 18.27 kB / 0.503 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3617, allocations: 6.812 kB / 0.503 GB, free: 26.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005796/0.3623, allocations: 0.6516 MB / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3626, allocations: 31 kB / 0.5037 GB, free: 25.99 MB / 446.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.001784/0.3644, allocations: 488.4 kB / 0.5042 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3646, allocations: 80.88 kB / 0.5043 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3646, allocations: 0 / 0.5043 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.3647, allocations: 40.16 kB / 0.5043 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3651, allocations: 29.7 kB / 0.5043 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.3661, allocations: 0.8407 MB / 0.5051 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3663, allocations: 232.2 kB / 0.5054 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.3663, allocations: 23.5 kB / 0.5054 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3664, allocations: 18.53 kB / 0.5054 GB, free: 25.23 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3664, allocations: 0 / 0.5054 GB, free: 25.23 MB / 446.1 MB Notification: Performance of Templates: time 0.005037/0.3714, allocations: 1.591 MB / 0.507 GB, free: 24.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 4.888445988995954]