Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001348/0.001348, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.001428/0.001428, allocations: 161 kB / 24.5 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9 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.201/0.201, allocations: 32.81 MB / 294.1 MB, free: 36 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.002142/0.002142, allocations: 62.41 kB / 440.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002479/0.3212, allocations: 1.68 MB / 0.4958 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.3221, allocations: 0.566 MB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.3221, allocations: 0 / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.3223, allocations: 44.38 kB / 0.4964 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.3226, allocations: 95.66 kB / 0.4965 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3229, allocations: 178.8 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3231, allocations: 87.75 kB / 0.4967 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.3232, allocations: 18.23 kB / 0.4968 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.3232, allocations: 42.91 kB / 0.4968 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.3233, allocations: 42.44 kB / 0.4968 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3233, allocations: 6.375 kB / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.3234, allocations: 47.06 kB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.3235, allocations: 24.53 kB / 0.4969 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3235, allocations: 25.28 kB / 0.4969 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3236, allocations: 118.9 kB / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3237, allocations: 0 / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3237, allocations: 0 / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3237, allocations: 0 / 0.4971 GB, free: 29.57 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.0004039/0.3241, allocations: 339.2 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.3241, allocations: 9.688 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.3241, allocations: 12.02 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3243, allocations: 141.6 kB / 0.4975 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3243, allocations: 7.609 kB / 0.4975 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3243, allocations: 11.66 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3245, allocations: 78.47 kB / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3245, allocations: 0 / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3245, allocations: 0 / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3245, allocations: 3.094 kB / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3246, allocations: 40.47 kB / 0.4977 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.325, allocations: 266.7 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.3252, allocations: 54.23 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.3253, allocations: 29 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3253, allocations: 0 / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.3253, allocations: 41.3 kB / 0.498 GB, free: 28.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3253, allocations: 0 / 0.498 GB, free: 28.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001377/0.3267, allocations: 417.9 kB / 0.4984 GB, free: 28.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3267, allocations: 58.56 kB / 0.4985 GB, free: 28.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3268, allocations: 174.9 kB / 0.4987 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3268, allocations: 32.8 kB / 0.4987 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.3269, allocations: 106.4 kB / 0.4988 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3269, allocations: 41.11 kB / 0.4988 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3269, allocations: 23.61 kB / 0.4989 GB, free: 28.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.327, allocations: 328.7 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3271, allocations: 48.03 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3272, allocations: 58.28 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3275, allocations: 135.8 kB / 0.4994 GB, free: 27.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3275, allocations: 0 / 0.4994 GB, free: 27.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000299/0.3278, allocations: 158.8 kB / 0.4996 GB, free: 27.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3278, allocations: 6.438 kB / 0.4996 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3278, allocations: 4 kB / 0.4996 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3278, allocations: 0 / 0.4996 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3279, allocations: 28.53 kB / 0.4996 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3279, allocations: 3.938 kB / 0.4996 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.328, allocations: 10.12 kB / 0.4996 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.328, allocations: 10.94 kB / 0.4996 GB, free: 27.73 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 (11): * Single equations (assignments): 11 * 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 7.012e-05/0.3281, allocations: 131.2 kB / 0.4997 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.3281, allocations: 14 kB / 0.4998 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.3285, allocations: 184.7 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3285, allocations: 3.25 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3285, allocations: 4.5 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3285, allocations: 0 / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.329, allocations: 431.5 kB / 0.5004 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.329, allocations: 7.344 kB / 0.5004 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3291, allocations: 33.98 kB / 0.5004 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3291, allocations: 3.938 kB / 0.5004 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3291, allocations: 7.188 kB / 0.5004 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3291, allocations: 3.188 kB / 0.5004 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3291, allocations: 0 / 0.5004 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.3294, allocations: 265.6 kB / 0.5007 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.3295, allocations: 19.16 kB / 0.5007 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3295, allocations: 3.188 kB / 0.5007 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.3296, allocations: 13.55 kB / 0.5007 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.3296, allocations: 13.97 kB / 0.5007 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3296, allocations: 3.25 kB / 0.5007 GB, free: 26.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.3297, allocations: 139.1 kB / 0.5008 GB, free: 26.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3297, allocations: 0 / 0.5008 GB, free: 26.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.33, allocations: 26.97 kB / 0.5009 GB, free: 26.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00175/0.3317, allocations: 498.4 kB / 0.5013 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.332, allocations: 123 kB / 0.5015 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.332, allocations: 4 kB / 0.5015 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3322, allocations: 65.66 kB / 0.5015 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3325, allocations: 35.89 kB / 0.5016 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.333, allocations: 304.6 kB / 0.5019 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.3331, allocations: 106.4 kB / 0.502 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.031e-05/0.3332, allocations: 22.67 kB / 0.502 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.3332, allocations: 25.27 kB / 0.502 GB, free: 26.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3332, allocations: 0 / 0.502 GB, free: 26.29 MB / 446.1 MB Notification: Performance of Templates: time 0.004222/0.3374, allocations: 1.607 MB / 0.5036 GB, free: 26.08 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.8836258460069075]