Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001961/0.001961, 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.002478/0.002478, 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.631/1.631, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.3639/0.3639, allocations: 44.91 MB / 359.6 MB, free: 6.293 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [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.002066/0.002066, allocations: 74.09 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2764, allocations: 65.46 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00319/0.2795, allocations: 1.678 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2816, allocations: 1.302 MB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.2816, allocations: 0 / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2818, allocations: 23.84 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.2821, allocations: 87.61 kB / 0.5613 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.2826, allocations: 182.9 kB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.2827, allocations: 75.77 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2828, allocations: 19.97 kB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.2829, allocations: 35.8 kB / 0.5616 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2831, allocations: 39.84 kB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2831, allocations: 4 kB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2833, allocations: 111.8 kB / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.2833, allocations: 19.92 kB / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2834, allocations: 27.81 kB / 0.5618 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2836, allocations: 153.8 kB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2836, allocations: 3.984 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2836, allocations: 0 / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2836, allocations: 0 / 0.5619 GB, free: 3.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005399/0.2842, allocations: 345.6 kB / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2842, allocations: 8.031 kB / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.2843, allocations: 8.891 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.2845, allocations: 140.8 kB / 0.5624 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.2845, allocations: 384 / 0.5624 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.2845, allocations: 4.375 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2847, allocations: 83.5 kB / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2847, allocations: 0 / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2847, allocations: 4 kB / 0.5625 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2847, allocations: 0 / 0.5625 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.2849, allocations: 43.89 kB / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.2853, allocations: 275.8 kB / 0.5628 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2855, allocations: 58.58 kB / 0.5628 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.2855, allocations: 24.83 kB / 0.5629 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2856, allocations: 7.938 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2856, allocations: 30.56 kB / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2856, allocations: 0 / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008289/0.2864, allocations: 233.3 kB / 0.5631 GB, free: 2.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.2865, allocations: 85.09 kB / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2867, allocations: 149.5 kB / 0.5634 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.2867, allocations: 25.7 kB / 0.5634 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.2867, allocations: 100.1 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.2868, allocations: 23.8 kB / 0.5635 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2868, allocations: 21.72 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.287, allocations: 322.8 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2871, allocations: 31.97 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2872, allocations: 57.67 kB / 0.5639 GB, free: 1.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.2875, allocations: 88.83 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2875, allocations: 0 / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003159/0.2878, allocations: 133.7 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2878, allocations: 8 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2878, allocations: 0 / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2878, allocations: 0 / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.2879, allocations: 23.98 kB / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2879, allocations: 0 / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.288, allocations: 15.86 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.288, allocations: 4 kB / 0.5642 GB, free: 1.457 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 (7): * Single equations (assignments): 7 * 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.0001079/0.2881, allocations: 117.8 kB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.2882, allocations: 11.95 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.2885, allocations: 138.3 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2885, allocations: 4 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2886, allocations: 0 / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2886, allocations: 3.938 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.2892, allocations: 389.5 kB / 0.5648 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2892, allocations: 0 / 0.5648 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.2893, allocations: 23.98 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2893, allocations: 3.938 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2893, allocations: 3.938 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2893, allocations: 7.984 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2893, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2896, allocations: 223.4 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.2897, allocations: 3.953 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.2897, allocations: 11.94 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2898, allocations: 7.984 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.2898, allocations: 7.984 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2898, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.2899, allocations: 117.7 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2899, allocations: 0 / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.2902, allocations: 43.86 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001812/0.2921, allocations: 0.5032 MB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2924, allocations: 79.94 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2924, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2925, allocations: 51.89 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2929, allocations: 19.98 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.2934, allocations: 243.6 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2938, allocations: 0.6924 MB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.2939, allocations: 19.42 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2939, allocations: 0 / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004541/0.2984, allocations: 2.19 MB / 0.5689 GB, free: 12.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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: 8.145446128211915]