Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001323/0.001323, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001456/0.001456, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003053/0.3055, allocations: 1.672 MB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3066, allocations: 0.566 MB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.3066, allocations: 4 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.3072, allocations: 447.1 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.3077, allocations: 299.3 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3081, allocations: 175 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3083, allocations: 187.6 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.3084, allocations: 12.23 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3086, allocations: 115.8 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.3088, allocations: 251.4 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3088, allocations: 4 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3089, allocations: 47.98 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.309, allocations: 83.69 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.3091, allocations: 75.23 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3095, allocations: 296.9 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3095, allocations: 0 / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3095, allocations: 0 / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3095, allocations: 0 / 0.5659 GB, free: 15.94 MB / 414.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.0007514/0.3102, allocations: 0.5854 MB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3103, allocations: 8.031 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.3103, allocations: 48.61 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3106, allocations: 250.8 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3106, allocations: 4.375 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3107, allocations: 384 / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3108, allocations: 69.73 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3108, allocations: 7.938 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3108, allocations: 4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3108, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.311, allocations: 31.97 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.3115, allocations: 348.3 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3116, allocations: 38.56 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.3116, allocations: 24.88 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3117, allocations: 8 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3117, allocations: 34.59 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3117, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009923/0.3127, allocations: 328.5 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3127, allocations: 51.41 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.3136, allocations: 0.873 MB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3136, allocations: 25.7 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3138, allocations: 220 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.3138, allocations: 27.78 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.3139, allocations: 17.72 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3141, allocations: 362.8 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.3141, allocations: 27.98 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.282e-05/0.3142, allocations: 31.97 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3144, allocations: 76.83 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3144, allocations: 0 / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002709/0.3147, allocations: 149.3 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3147, allocations: 11.98 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3147, allocations: 0 / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3147, allocations: 4.422 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3148, allocations: 15.98 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3148, allocations: 7.938 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.3149, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3149, allocations: 8 kB / 0.5695 GB, free: 12.11 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0002158/0.3151, allocations: 221.8 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.3152, allocations: 39.72 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.3156, allocations: 181.7 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3156, allocations: 0 / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3156, allocations: 3.938 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3156, allocations: 3.938 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.3162, allocations: 474.9 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3163, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.3163, allocations: 15.98 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.3163, allocations: 7.938 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3163, allocations: 0 / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3163, allocations: 3.938 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3163, allocations: 0 / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.3167, allocations: 252.1 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3167, allocations: 31.72 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.3168, allocations: 7.938 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.3169, allocations: 4 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3169, allocations: 7.984 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3169, allocations: 7.938 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006731/0.3176, allocations: 0.6511 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 0 / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.3179, allocations: 31.94 kB / 0.5714 GB, free: 10.11 MB / 414.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 (8): * Single equations (assignments): 8 * 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.001907/0.3198, allocations: 498.8 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.32, allocations: 67.95 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.32, allocations: 4 kB / 0.5719 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3201, allocations: 43.91 kB / 0.572 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3205, allocations: 30.39 kB / 0.572 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3218, allocations: 0.8425 MB / 0.5728 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3221, allocations: 228.1 kB / 0.573 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.3221, allocations: 24.95 kB / 0.573 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3222, allocations: 15.44 kB / 0.5731 GB, free: 8.531 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3222, allocations: 0 / 0.5731 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Templates: time 0.007889/0.3301, allocations: 1.973 MB / 0.575 GB, free: 6.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.731538948006346]