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.001967/0.001967, 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.002466/0.002466, 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2351/0.2351, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.0021/0.0021, allocations: 71.89 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003534/0.4124, allocations: 1.649 MB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.4137, allocations: 0.5739 MB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.4137, allocations: 0 / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.4144, allocations: 459.1 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.4149, allocations: 287.3 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.4154, allocations: 179.2 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.4157, allocations: 183.6 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4158, allocations: 12.23 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.4159, allocations: 127.6 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.4162, allocations: 247.5 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.4162, allocations: 4 kB / 0.5654 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4164, allocations: 51.97 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4165, allocations: 83.69 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.4165, allocations: 71.19 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.4169, allocations: 292.9 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.417, allocations: 4 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.417, allocations: 0 / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.417, allocations: 0 / 0.5659 GB, free: 15.93 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.0007968/0.4178, allocations: 0.5931 MB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4178, allocations: 8.031 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.4179, allocations: 52.59 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4182, allocations: 242.8 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.4182, allocations: 4.312 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.4182, allocations: 8.375 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4184, allocations: 61.8 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4184, allocations: 4 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4184, allocations: 0 / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4184, allocations: 4 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4185, allocations: 31.97 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.4191, allocations: 348.3 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4192, allocations: 46.55 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.4193, allocations: 12.95 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4193, allocations: 8.016 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4193, allocations: 42.56 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4193, allocations: 0 / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009981/0.4203, allocations: 320.5 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.4204, allocations: 51.41 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.4213, allocations: 0.8613 MB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4213, allocations: 33.7 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4215, allocations: 216 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4215, allocations: 27.78 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.4216, allocations: 21.72 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4217, allocations: 362.8 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.4218, allocations: 31.98 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.4219, allocations: 35.95 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4221, allocations: 80.92 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4221, allocations: 8 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002691/0.4224, allocations: 145.3 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4224, allocations: 7.984 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4224, allocations: 0 / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4224, allocations: 4 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.4225, allocations: 12 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4225, allocations: 7.922 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.4226, allocations: 8 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4226, allocations: 4 kB / 0.5695 GB, free: 12.09 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.0002495/0.4228, allocations: 221.7 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.4229, allocations: 43.72 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.4233, allocations: 165.4 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4233, allocations: 4 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.4233, allocations: 7.938 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4233, allocations: 432 / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.424, allocations: 466.8 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.424, allocations: 4 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.4241, allocations: 15.98 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4241, allocations: 3.938 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4241, allocations: 7.938 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4241, allocations: 0 / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4241, allocations: 3.984 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.4245, allocations: 248.1 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.4246, allocations: 43.75 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.4246, allocations: 3.938 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4247, allocations: 4 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4247, allocations: 7.984 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4247, allocations: 4 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007206/0.4254, allocations: 0.655 MB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4254, allocations: 0 / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.4257, allocations: 27.94 kB / 0.5714 GB, free: 10.1 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.001928/0.4277, allocations: 0.493 MB / 0.5718 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.4279, allocations: 67.95 kB / 0.5719 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4279, allocations: 4 kB / 0.5719 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.428, allocations: 43.91 kB / 0.572 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4285, allocations: 34.52 kB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4298, allocations: 0.8755 MB / 0.5728 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.43, allocations: 220.1 kB / 0.5731 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.4301, allocations: 15.44 kB / 0.5731 GB, free: 8.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4301, allocations: 0 / 0.5731 GB, free: 8.512 MB / 414.1 MB Notification: Performance of Templates: time 0.008076/0.4381, allocations: 4.178 MB / 0.5771 GB, free: 4.328 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 -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: 7.971499458886683]