Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001479/0.001479, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001303/0.001303, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.069/1.069, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2376/0.2376, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.128e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003185/0.003216, allocations: 1.661 MB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.005206, allocations: 1.29 MB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.005276, allocations: 3.938 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.005563, allocations: 23.78 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.005955, allocations: 83.56 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.00633, allocations: 119.6 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.006523, allocations: 83.77 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.006658, allocations: 27.91 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.006745, allocations: 35.91 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.006869, allocations: 27.91 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.006892, allocations: 4 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.007082, allocations: 95.81 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.007137, allocations: 15.92 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.007178, allocations: 23.92 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.00747, allocations: 139.5 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.007475, allocations: 0 / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007476, allocations: 0 / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.007481, allocations: 4 kB / 379.7 MB, free: 0.9922 MB / 346.7 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.0005505/0.008031, allocations: 436 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.008079, allocations: 12.03 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.008147, allocations: 16.84 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.008356, allocations: 140.5 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.00837, allocations: 4.375 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.008402, allocations: 8.375 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.008625, allocations: 108 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.008639, allocations: 192 / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.008657, allocations: 12.12 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.008667, allocations: 4 kB / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.008727, allocations: 11.98 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.009176, allocations: 299.6 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.009277, allocations: 50.98 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.009585, allocations: 23.8 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.009609, allocations: 0 / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.009641, allocations: 41.42 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.009642, allocations: 0 / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.01019, allocations: 129.4 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.01024, allocations: 85.11 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.01042, allocations: 203.7 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01044, allocations: 25.7 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.0105, allocations: 142.9 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.01053, allocations: 31.73 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.01058, allocations: 27.38 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01072, allocations: 0.4922 MB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.01075, allocations: 12 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.0108, allocations: 53.06 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/0.01087, allocations: 35.69 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01087, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000136/0.01101, allocations: 77.61 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01102, allocations: 7.984 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01103, allocations: 4.312 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01104, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01116, allocations: 12 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01117, allocations: 384 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.0112, allocations: 7.984 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.01121, allocations: 3.984 kB / 382.1 MB, free: 14.27 MB / 362.7 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 8.757e-05/0.0113, allocations: 164.5 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.01135, allocations: 15.95 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.01156, allocations: 102.3 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01157, allocations: 3.984 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01157, allocations: 0 / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01157, allocations: 0 / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.01197, allocations: 361.3 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01197, allocations: 3.938 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.01204, allocations: 15.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01205, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01205, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01206, allocations: 4 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01206, allocations: 4 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01224, allocations: 219.8 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01226, allocations: 15.88 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.01228, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.01235, allocations: 0 / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.01239, allocations: 7.984 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.0124, allocations: 0 / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.47e-05/0.01249, allocations: 157.5 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01249, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.01282, allocations: 43.86 kB / 383.2 MB, free: 13.09 MB / 362.7 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 (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.001405/0.01423, allocations: 492.7 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.01439, allocations: 39.67 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01439, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.01444, allocations: 31.61 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.01477, allocations: 23.98 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.01525, allocations: 194.5 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.0153, allocations: 63.34 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.41e-05/0.01537, allocations: 16.7 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.01542, allocations: 24.48 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01543, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.005709/0.02113, allocations: 2.127 MB / 386.2 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2068805592134595]