Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001848/0.001848, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001965/0.001965, allocations: 169.6 kB / 24.28 MB, free: 152 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.555/1.555, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3787/0.3787, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.558e-05, allocations: 6.25 kB / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.0037/0.003735, allocations: 1.686 MB / 377 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.005023, allocations: 0.5491 MB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.005079, allocations: 0 / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.005378, allocations: 63.78 kB / 377.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.005734, allocations: 103.5 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.00609, allocations: 139.5 kB / 377.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.006285, allocations: 95.67 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006396, allocations: 8.234 kB / 377.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.006505, allocations: 51.88 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.006629, allocations: 51.88 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.006654, allocations: 4 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006771, allocations: 51.91 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.006852, allocations: 31.92 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.006888, allocations: 15.92 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.007136, allocations: 123.5 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.00714, allocations: 0 / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007141, allocations: 0 / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.007146, allocations: 0 / 378.3 MB, free: 1.949 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.0006441/0.00779, allocations: 451.6 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.007832, allocations: 8.031 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.007891, allocations: 16.84 kB / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.00812, allocations: 149.1 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.008133, allocations: 4.375 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.008158, allocations: 8.375 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.008336, allocations: 62.17 kB / 378.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.008347, allocations: 192 / 378.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.008359, allocations: 4.125 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.008364, allocations: 0 / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.008488, allocations: 27.98 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.009014, allocations: 327.6 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.00928, allocations: 62.98 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.009351, allocations: 27.8 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.009371, allocations: 0 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.009409, allocations: 41.42 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.00941, allocations: 0 / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001146/0.01056, allocations: 313.5 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.01061, allocations: 55.41 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.01086, allocations: 250.4 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.0109, allocations: 25.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01102, allocations: 158.9 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.01107, allocations: 43.64 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01113, allocations: 31.38 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.01143, allocations: 0.5079 MB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.01154, allocations: 31.97 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01164, allocations: 39.98 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.01187, allocations: 95.53 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.01187, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.01218, allocations: 121.6 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.0122, allocations: 8 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.0122, allocations: 0 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01222, allocations: 0 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01232, allocations: 23.92 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01233, allocations: 8 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.01239, allocations: 11.98 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.0124, allocations: 0 / 381.1 MB, free: 14.88 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 (11): * Single equations (assignments): 11 * 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.0001464/0.01254, allocations: 164.5 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.01259, allocations: 19.91 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.01297, allocations: 155.4 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01297, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01298, allocations: 4 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01298, allocations: 4 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/0.01372, allocations: 480.5 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01372, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.01382, allocations: 27.92 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01382, allocations: 0 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01384, allocations: 8 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01384, allocations: 3.938 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01384, allocations: 4.188 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.01456, allocations: 303.2 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01458, allocations: 11.89 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01461, allocations: 8 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.01469, allocations: 11.92 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.01474, allocations: 11.98 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.01476, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.01491, allocations: 171.2 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01491, allocations: 0 / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.01517, allocations: 24 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003384/0.01856, allocations: 0.4917 MB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.01889, allocations: 103.6 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01889, allocations: 0 / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.01905, allocations: 63.59 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.01939, allocations: 27.81 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.02011, allocations: 289.1 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.02024, allocations: 101.9 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.02031, allocations: 16.47 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.02037, allocations: 20.5 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02037, allocations: 0 / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.005438/0.02581, allocations: 1.583 MB / 385.2 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 5.034998244955204]