Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001353/0.001353, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001449/0.001449, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2459/0.2459, allocations: 44.91 MB / 359.6 MB, free: 6.266 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [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.00209/0.00209, allocations: 67.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2842, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003219/0.2874, allocations: 1.669 MB / 0.5599 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2885, allocations: 0.5581 MB / 0.5604 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.2886, allocations: 0 / 0.5604 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.2889, allocations: 103.7 kB / 0.5605 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.2892, allocations: 111.6 kB / 0.5607 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.2895, allocations: 95.69 kB / 0.5607 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.2897, allocations: 103.7 kB / 0.5608 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2898, allocations: 23.66 kB / 0.5609 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.2899, allocations: 47.83 kB / 0.5609 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.29, allocations: 67.75 kB / 0.561 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.29, allocations: 4 kB / 0.561 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2901, allocations: 51.97 kB / 0.561 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.2902, allocations: 23.86 kB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.2902, allocations: 43.67 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2905, allocations: 130.1 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2905, allocations: 0 / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2905, allocations: 0 / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2905, allocations: 3.938 kB / 0.5612 GB, free: 4.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005418/0.291, allocations: 365.5 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2911, allocations: 8.031 kB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.2911, allocations: 16.84 kB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.2913, allocations: 150.8 kB / 0.5617 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.2913, allocations: 384 / 0.5617 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.2913, allocations: 8.375 kB / 0.5617 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2915, allocations: 69.73 kB / 0.5618 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2915, allocations: 7.953 kB / 0.5618 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2915, allocations: 4 kB / 0.5618 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2915, allocations: 7.984 kB / 0.5618 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2917, allocations: 39.95 kB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.2921, allocations: 299.8 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.2923, allocations: 62.5 kB / 0.5622 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.2923, allocations: 24.84 kB / 0.5622 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2923, allocations: 0 / 0.5622 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2924, allocations: 38.56 kB / 0.5623 GB, free: 3.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.2924, allocations: 0 / 0.5623 GB, free: 3.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001056/0.2934, allocations: 317.2 kB / 0.5626 GB, free: 3.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2935, allocations: 55.34 kB / 0.5626 GB, free: 3.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.2937, allocations: 235.6 kB / 0.5629 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2938, allocations: 29.7 kB / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.2938, allocations: 116 kB / 0.563 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2939, allocations: 39.64 kB / 0.563 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.2939, allocations: 33.64 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2941, allocations: 330.8 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.2942, allocations: 31.98 kB / 0.5634 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.2943, allocations: 39.34 kB / 0.5634 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.2945, allocations: 88.83 kB / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2945, allocations: 0 / 0.5635 GB, free: 2.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002747/0.2948, allocations: 141.6 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2948, allocations: 11.94 kB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2948, allocations: 0 / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2948, allocations: 3.938 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2949, allocations: 27.97 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2949, allocations: 0 / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.295, allocations: 4 kB / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.295, allocations: 8 kB / 0.5637 GB, free: 1.914 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 (13): * Single equations (assignments): 13 * 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.0001202/0.2951, allocations: 133.8 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.2951, allocations: 19.91 kB / 0.5639 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.2955, allocations: 163.7 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2955, allocations: 3.938 kB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2955, allocations: 4 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2955, allocations: 0 / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.2962, allocations: 454.2 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2962, allocations: 0 / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.2963, allocations: 31.92 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2963, allocations: 0 / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2963, allocations: 4 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2963, allocations: 4 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2963, allocations: 0 / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.2966, allocations: 251.7 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.2966, allocations: 11.91 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2966, allocations: 0 / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.2967, allocations: 8 kB / 0.5648 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2968, allocations: 7.984 kB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2968, allocations: 11.92 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.2969, allocations: 181.1 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2969, allocations: 0 / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.2972, allocations: 35.92 kB / 0.565 GB, free: 0.5312 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 (13): * Single equations (assignments): 13 * 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.001731/0.2989, allocations: 467.9 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.2992, allocations: 87.89 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2992, allocations: 0 / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2993, allocations: 55.91 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.2997, allocations: 27.67 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.3003, allocations: 335.1 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3007, allocations: 0.7236 MB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3008, allocations: 19.44 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3008, allocations: 0 / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Templates: time 0.004359/0.3051, allocations: 2.076 MB / 0.5687 GB, free: 12.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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: 7.829611137975007]