Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001565/0.001565, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001533/0.001533, allocations: 210 kB / 24.48 MB, free: 3.938 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.228/0.228, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003107/0.3013, allocations: 1.644 MB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3024, allocations: 0.5348 MB / 0.564 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.3024, allocations: 4 kB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.303, allocations: 451.1 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.3035, allocations: 299.3 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3038, allocations: 126.9 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3041, allocations: 167.7 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3042, allocations: 15.92 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3043, allocations: 107.8 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3046, allocations: 251.5 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3046, allocations: 4 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.3047, allocations: 39.92 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3048, allocations: 79.7 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.3049, allocations: 71.23 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.3052, allocations: 265 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3052, allocations: 0 / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3052, allocations: 0 / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3052, allocations: 4 kB / 0.5658 GB, free: 140 kB / 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.0007568/0.306, allocations: 0.5776 MB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.306, allocations: 8.031 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.3061, allocations: 44.66 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3064, allocations: 242.8 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3064, allocations: 8.375 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3064, allocations: 384 / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3065, allocations: 53.81 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3065, allocations: 0 / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3066, allocations: 4 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3066, allocations: 4 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.3067, allocations: 23.97 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.3071, allocations: 332.2 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3073, allocations: 46.56 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.3073, allocations: 12.94 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3074, allocations: 4 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3074, allocations: 34.56 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3074, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006142/0.308, allocations: 236.8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.308, allocations: 51.41 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.309, allocations: 0.869 MB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.309, allocations: 25.7 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3092, allocations: 216 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3092, allocations: 15.91 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3092, allocations: 17.66 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3094, allocations: 366.7 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3095, allocations: 23.98 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.3095, allocations: 24.05 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3097, allocations: 44.83 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3097, allocations: 0 / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002198/0.3099, allocations: 117.3 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3099, allocations: 8 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3099, allocations: 0 / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3099, allocations: 4 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.31, allocations: 15.92 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.31, allocations: 0 / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.31, allocations: 4 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.31, allocations: 7.984 kB / 0.5691 GB, free: 12.55 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 (5): * Single equations (assignments): 5 * 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.0002022/0.3102, allocations: 213.7 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.3103, allocations: 39.72 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3106, allocations: 137.1 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3106, allocations: 0 / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3106, allocations: 0 / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3106, allocations: 0 / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3112, allocations: 406 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3112, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3112, allocations: 12.31 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3112, allocations: 0 / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.3112, allocations: 0 / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3112, allocations: 7.984 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3112, allocations: 7.938 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3115, allocations: 211.2 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.3115, allocations: 35.72 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3116, allocations: 0 / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.3117, allocations: 7.984 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3117, allocations: 7.938 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3117, allocations: 4 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006582/0.3124, allocations: 0.6511 MB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3124, allocations: 0 / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3126, allocations: 27.94 kB / 0.5708 GB, free: 10.73 MB / 414.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 (5): * Single equations (assignments): 5 * 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.001611/0.3142, allocations: 444.5 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.3144, allocations: 43.91 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3145, allocations: 4 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.3145, allocations: 19.98 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3149, allocations: 28.58 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3161, allocations: 0.8391 MB / 0.5721 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3164, allocations: 220.1 kB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.3164, allocations: 11.44 kB / 0.5723 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3164, allocations: 0 / 0.5723 GB, free: 9.273 MB / 414.1 MB Notification: Performance of Templates: time 0.007239/0.3236, allocations: 3.848 MB / 0.5761 GB, free: 5.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.763610688969493]