Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001416/0.001416, allocations: 112.5 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.001605/0.001605, 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.949 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.366/0.366, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.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.CombiTable2Dv.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") [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.002189/0.002189, allocations: 69.77 kB / 0.4943 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.291, allocations: 65.47 MB / 0.5583 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003424/0.2945, allocations: 1.707 MB / 0.5599 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2956, allocations: 0.601 MB / 0.5605 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.2957, allocations: 0 / 0.5605 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.296, allocations: 59.78 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.2963, allocations: 107.6 kB / 0.5607 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.2967, allocations: 183.3 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.2969, allocations: 95.73 kB / 0.561 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.297, allocations: 16.22 kB / 0.561 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.2971, allocations: 47.77 kB / 0.561 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2972, allocations: 51.83 kB / 0.5611 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2972, allocations: 8 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2973, allocations: 51.97 kB / 0.5611 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.2974, allocations: 27.86 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2975, allocations: 35.73 kB / 0.5612 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2977, allocations: 125.8 kB / 0.5613 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2977, allocations: 7.938 kB / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2977, allocations: 0 / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2977, allocations: 0 / 0.5613 GB, free: 4.559 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005179/0.2982, allocations: 353.5 kB / 0.5616 GB, free: 4.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2982, allocations: 16.03 kB / 0.5617 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2983, allocations: 12.89 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2985, allocations: 138.3 kB / 0.5618 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2985, allocations: 8.375 kB / 0.5618 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.2985, allocations: 4.375 kB / 0.5618 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2987, allocations: 69.72 kB / 0.5619 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2987, allocations: 4 kB / 0.5619 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2987, allocations: 0 / 0.5619 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2988, allocations: 0 / 0.5619 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.2989, allocations: 51.89 kB / 0.5619 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.2994, allocations: 303.7 kB / 0.5622 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2997, allocations: 58.55 kB / 0.5623 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.2997, allocations: 28.97 kB / 0.5623 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2998, allocations: 0 / 0.5623 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2998, allocations: 30.56 kB / 0.5623 GB, free: 3.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.2998, allocations: 0 / 0.5623 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.3014, allocations: 440.9 kB / 0.5628 GB, free: 2.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3014, allocations: 59.34 kB / 0.5628 GB, free: 2.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3016, allocations: 210.3 kB / 0.563 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3017, allocations: 25.7 kB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.3017, allocations: 108.1 kB / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.3018, allocations: 35.69 kB / 0.5632 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.3018, allocations: 29.7 kB / 0.5632 GB, free: 2.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.302, allocations: 322.8 kB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3021, allocations: 55.95 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3023, allocations: 55.91 kB / 0.5636 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3026, allocations: 125 kB / 0.5637 GB, free: 1.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3026, allocations: 0.5625 kB / 0.5637 GB, free: 1.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.3029, allocations: 173.5 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3029, allocations: 4 kB / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.303, allocations: 4 kB / 0.5639 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.303, allocations: 0 / 0.5639 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3031, allocations: 35.91 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3031, allocations: 4 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.3032, allocations: 11.94 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3032, allocations: 7.984 kB / 0.564 GB, free: 1.645 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 (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 0.0001199/0.3033, allocations: 133.8 kB / 0.5641 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3033, allocations: 15.89 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.3038, allocations: 183 kB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.3038, allocations: 7.938 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3038, allocations: 0 / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3038, allocations: 4 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.3046, allocations: 490.9 kB / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3046, allocations: 0 / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3047, allocations: 23.98 kB / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3047, allocations: 4.062 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3047, allocations: 4 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3047, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3047, allocations: 3.938 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.3051, allocations: 281 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.3051, allocations: 12.03 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3052, allocations: 7.938 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.3053, allocations: 4 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3053, allocations: 15.97 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3053, allocations: 4 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3055, allocations: 164.2 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3055, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3057, allocations: 31.94 kB / 0.5653 GB, free: 184 kB / 398.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.001772/0.3075, allocations: 468.8 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.3079, allocations: 123.8 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3079, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3081, allocations: 71.89 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3085, allocations: 21.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.3092, allocations: 354.6 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3096, allocations: 0.7197 MB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3096, allocations: 15.44 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3096, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Templates: time 0.004269/0.3139, allocations: 2.132 MB / 0.5691 GB, free: 12.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.911969635169953]