Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001339/0.001339, allocations: 84.16 kB / 20.68 MB, free: 1.027 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.001459/0.001459, allocations: 164.4 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.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.1965/0.1965, allocations: 32.81 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.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.147e-06/4.147e-06, allocations: 3.984 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.985e-05, allocations: 6.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003298/0.003328, allocations: 1.583 MB / 441.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.00543, allocations: 1.258 MB / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.005506, allocations: 0 / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.005746, allocations: 31.78 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.006176, allocations: 87.55 kB / 443.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.00654, allocations: 106.1 kB / 443.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.006739, allocations: 71.77 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.006869, allocations: 11.98 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.006964, allocations: 35.91 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.007097, allocations: 23.91 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.007123, allocations: 4 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.007355, allocations: 103.8 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.007417, allocations: 19.86 kB / 443.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.007458, allocations: 11.94 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.007806, allocations: 143.6 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.00781, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007812, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.007823, allocations: 0 / 443.6 MB, free: 4.648 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.0006054/0.008429, allocations: 321.7 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.008476, allocations: 12.03 kB / 443.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.008537, allocations: 12.88 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.00877, allocations: 133.6 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.008777, allocations: 4.375 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.008806, allocations: 4.375 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.009016, allocations: 89.66 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.009031, allocations: 4.141 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.009045, allocations: 4.125 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.00905, allocations: 4 kB / 444.2 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.009152, allocations: 19.98 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.00958, allocations: 232.5 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.009824, allocations: 42.56 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.009886, allocations: 20.94 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.009909, allocations: 3.938 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.009942, allocations: 34.56 kB / 444.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.009944, allocations: 0 / 444.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006711/0.01061, allocations: 149.4 kB / 444.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.01068, allocations: 77.11 kB / 444.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01086, allocations: 152.3 kB / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01088, allocations: 25.7 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.01095, allocations: 92.14 kB / 445 MB, free: 3.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.01098, allocations: 23.8 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.01102, allocations: 21.64 kB / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01116, allocations: 318.8 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.01124, allocations: 23.97 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01135, allocations: 59.41 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.0115, allocations: 52.86 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.0115, allocations: 3.938 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000214/0.01172, allocations: 93.8 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01173, allocations: 4 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.01174, allocations: 4 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01175, allocations: 288 / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.01183, allocations: 19.92 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01183, allocations: 0 / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.01189, allocations: 12 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.0119, allocations: 3.938 kB / 445.6 MB, free: 2.41 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 0.0001067/0.01201, allocations: 122.4 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.01205, allocations: 11.94 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01232, allocations: 98.11 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01232, allocations: 0 / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01233, allocations: 0 / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01233, allocations: 3.984 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.01279, allocations: 302.1 kB / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01279, allocations: 0 / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.01285, allocations: 16 kB / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01285, allocations: 0 / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01286, allocations: 0 / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.01287, allocations: 3.984 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.01287, allocations: 0 / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.01314, allocations: 183.4 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.01316, allocations: 15.94 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.01318, allocations: 4 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.01326, allocations: 4.188 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.01329, allocations: 7.984 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.0133, allocations: 8 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01341, allocations: 113.5 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01341, allocations: 0 / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.01372, allocations: 39.86 kB / 446.5 MB, free: 1.426 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.001956/0.01568, allocations: 0.5206 MB / 447.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.01591, allocations: 63.84 kB / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01592, allocations: 0 / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.016, allocations: 27.97 kB / 447.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01631, allocations: 15.98 kB / 447.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.01679, allocations: 172.7 kB / 447.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.01687, allocations: 77.77 kB / 447.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.882e-05/0.01695, allocations: 23.97 kB / 447.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.017, allocations: 16.48 kB / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.017, allocations: 0 / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of Templates: time 0.1881/0.2051, allocations: 1.827 MB / 449.3 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.619227614253759]