Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001387/0.001387, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.00161/0.00161, allocations: 162.4 kB / 24.5 MB, free: 3.453 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.513/1.513, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.2356/0.2356, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [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.00224/0.00224, allocations: 73.92 kB / 440.6 MB, free: 9.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 65.45 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002571/0.3163, allocations: 1.674 MB / 0.4958 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.3171, allocations: 0.5347 MB / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.3171, allocations: 0 / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3173, allocations: 60.83 kB / 0.4964 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3176, allocations: 101.1 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3178, allocations: 137.2 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.318, allocations: 90.8 kB / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3181, allocations: 10.05 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.3181, allocations: 34.31 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.3182, allocations: 50.95 kB / 0.4968 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3182, allocations: 6.219 kB / 0.4968 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.3183, allocations: 52.97 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.3184, allocations: 25.19 kB / 0.4969 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.3184, allocations: 25.31 kB / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.3185, allocations: 118.4 kB / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3185, allocations: 0 / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3185, allocations: 0 / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3186, allocations: 3.938 kB / 0.497 GB, free: 29.61 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.0004009/0.319, allocations: 343.8 kB / 0.4973 GB, free: 29.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.319, allocations: 9.031 kB / 0.4974 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.319, allocations: 11.27 kB / 0.4974 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3192, allocations: 145 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3192, allocations: 3.344 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3192, allocations: 7.422 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3194, allocations: 69.72 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3194, allocations: 0 / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3194, allocations: 4 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3194, allocations: 6.922 kB / 0.4976 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3195, allocations: 37.34 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3198, allocations: 242.8 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.32, allocations: 58.36 kB / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.3201, allocations: 29.08 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3201, allocations: 3.281 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.3201, allocations: 30.56 kB / 0.498 GB, free: 28.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3201, allocations: 0 / 0.498 GB, free: 28.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00131/0.3214, allocations: 392.8 kB / 0.4984 GB, free: 28.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.3214, allocations: 58.62 kB / 0.4984 GB, free: 28.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3216, allocations: 192.9 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.3216, allocations: 32.89 kB / 0.4986 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.3216, allocations: 98.7 kB / 0.4987 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3216, allocations: 41.61 kB / 0.4988 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3217, allocations: 24.03 kB / 0.4988 GB, free: 28.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.3217, allocations: 325 kB / 0.4991 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3218, allocations: 41.28 kB / 0.4991 GB, free: 27.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3219, allocations: 48.03 kB / 0.4992 GB, free: 27.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.3222, allocations: 94.47 kB / 0.4993 GB, free: 27.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3222, allocations: 0 / 0.4993 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002774/0.3224, allocations: 154.7 kB / 0.4994 GB, free: 27.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3225, allocations: 6.562 kB / 0.4994 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3225, allocations: 8 kB / 0.4994 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3225, allocations: 3.938 kB / 0.4994 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3226, allocations: 30.02 kB / 0.4995 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3226, allocations: 3.938 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.3227, allocations: 9.797 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3227, allocations: 6.562 kB / 0.4995 GB, free: 27.79 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 6.172e-05/0.3227, allocations: 123.1 kB / 0.4996 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.3228, allocations: 11.03 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.3231, allocations: 173.1 kB / 0.4998 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3231, allocations: 0 / 0.4998 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3231, allocations: 3.938 kB / 0.4998 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3231, allocations: 3.469 kB / 0.4998 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.3236, allocations: 389 kB / 0.5001 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3236, allocations: 11.28 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.3237, allocations: 25.67 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3237, allocations: 3.938 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3237, allocations: 3.062 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3237, allocations: 0 / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3237, allocations: 3.516 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.324, allocations: 255.4 kB / 0.5004 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.3241, allocations: 14.89 kB / 0.5005 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3241, allocations: 3.031 kB / 0.5005 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.3242, allocations: 14.11 kB / 0.5005 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.3242, allocations: 10.09 kB / 0.5005 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.3242, allocations: 3.156 kB / 0.5005 GB, free: 27.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.3243, allocations: 142.8 kB / 0.5006 GB, free: 26.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3243, allocations: 0 / 0.5006 GB, free: 26.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3246, allocations: 28.59 kB / 0.5006 GB, free: 26.96 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.001737/0.3263, allocations: 498.8 kB / 0.5011 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.3266, allocations: 109.2 kB / 0.5012 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3266, allocations: 4 kB / 0.5012 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3268, allocations: 52.95 kB / 0.5013 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3272, allocations: 21.55 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.3277, allocations: 289.8 kB / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.3278, allocations: 106.9 kB / 0.5017 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.3278, allocations: 10.22 kB / 0.5017 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.3278, allocations: 18.25 kB / 0.5017 GB, free: 26.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3278, allocations: 0 / 0.5017 GB, free: 26.39 MB / 446.1 MB Notification: Performance of Templates: time 0.004418/0.3323, allocations: 1.555 MB / 0.5032 GB, free: 26.18 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.99553614796605]