Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001172/0.001172, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001335/0.001335, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.41/1.41, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1983/0.1983, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.811e-05, allocations: 2.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002815/0.002843, allocations: 1.588 MB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.004651, allocations: 1.243 MB / 442.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.004708, allocations: 0 / 442.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.004925, allocations: 27.78 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.005229, allocations: 83.56 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.005478, allocations: 87.64 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.00563, allocations: 83.75 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.005717, allocations: 4 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.005791, allocations: 35.91 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.005902, allocations: 19.91 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.005923, allocations: 4 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.006095, allocations: 99.75 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.00615, allocations: 15.92 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.006184, allocations: 15.88 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.006447, allocations: 143.6 kB / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00645, allocations: 0 / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.006452, allocations: 0 / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006456, allocations: 4 kB / 443.5 MB, free: 4.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004983/0.006954, allocations: 321.7 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.006997, allocations: 16.02 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.007042, allocations: 4.891 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.007259, allocations: 144.8 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.007269, allocations: 384 / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.00729, allocations: 4.375 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.00747, allocations: 89.66 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.007484, allocations: 4.141 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007496, allocations: 8.125 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.0075, allocations: 0 / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.007591, allocations: 19.98 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.007922, allocations: 220.6 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.008127, allocations: 42.55 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.008181, allocations: 16.86 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.008203, allocations: 3.938 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.008229, allocations: 30.56 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00823, allocations: 0 / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.008785, allocations: 145.5 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.008849, allocations: 81.11 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.009014, allocations: 144.5 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.00903, allocations: 25.7 kB / 444.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.009092, allocations: 100.1 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.009116, allocations: 15.86 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.009155, allocations: 21.72 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.009291, allocations: 322.8 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.00937, allocations: 19.98 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.00946, allocations: 55.41 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.009597, allocations: 48.83 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.0096, allocations: 3.938 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001931/0.009793, allocations: 77.88 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.009807, allocations: 4 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.009813, allocations: 11.97 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009826, allocations: 288 / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.009896, allocations: 19.92 kB / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.0099, allocations: 0 / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.00995, allocations: 11.98 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.009956, allocations: 0 / 445.5 MB, free: 2.488 MB / 366.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 9.199e-05/0.01005, allocations: 122.4 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.01009, allocations: 11.94 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.01033, allocations: 94.11 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01034, allocations: 0 / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01034, allocations: 0 / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01034, allocations: 0 / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.01075, allocations: 294.1 kB / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01075, allocations: 0 / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.01081, allocations: 19.98 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01081, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01082, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01082, allocations: 4 kB / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01082, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.01107, allocations: 183.4 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.01109, allocations: 7.938 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01111, allocations: 0 / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.01118, allocations: 4.188 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.01121, allocations: 7.984 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01122, allocations: 4 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.01132, allocations: 111.3 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01132, allocations: 4 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.01161, allocations: 39.86 kB / 446.4 MB, free: 1.527 MB / 366.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.001797/0.0134, allocations: 0.5321 MB / 447 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.01361, allocations: 47.84 kB / 447 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01361, allocations: 4 kB / 447 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.01369, allocations: 19.98 kB / 447 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.01398, allocations: 18.98 kB / 447 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.0144, allocations: 176.7 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.01447, allocations: 71.33 kB / 447.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.01453, allocations: 11.98 kB / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.01457, allocations: 20.48 kB / 447.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01457, allocations: 0 / 447.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of Templates: time 0.16/0.1746, allocations: 1.807 MB / 449.1 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.563490029424429]