Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001292/0.001292, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001497/0.001497, allocations: 170.9 kB / 24.82 MB, free: 8.938 MB / 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.3861/0.3861, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.415e-05, allocations: 2.312 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00381/0.003844, allocations: 1.673 MB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00486, allocations: 0.5492 MB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.004945, allocations: 4 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.005301, allocations: 95.61 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.005655, allocations: 115.5 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.00599, allocations: 115.7 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.006191, allocations: 107.7 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.006313, allocations: 23.98 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.006406, allocations: 51.88 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.006514, allocations: 59.86 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.006534, allocations: 8 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.006629, allocations: 43.92 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.00669, allocations: 35.84 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.006724, allocations: 19.92 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.006925, allocations: 111.5 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.006931, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006933, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006938, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005141/0.007452, allocations: 471.7 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.007502, allocations: 8.031 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.007554, allocations: 24.84 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.007713, allocations: 160.3 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.007723, allocations: 4.312 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.007746, allocations: 8.375 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.007887, allocations: 70.92 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007897, allocations: 192 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.007908, allocations: 4.125 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.007912, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.00795, allocations: 19.98 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.00833, allocations: 312.2 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.008411, allocations: 54.98 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.008432, allocations: 11.69 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.008459, allocations: 0 / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.008486, allocations: 45.31 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.008487, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006324/0.009119, allocations: 221.6 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.009155, allocations: 51.41 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.009323, allocations: 246.6 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.009341, allocations: 29.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/0.009425, allocations: 166.7 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.009465, allocations: 39.64 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.009513, allocations: 39.28 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.009697, allocations: 0.5117 MB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.009726, allocations: 11.98 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.009758, allocations: 22.86 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.009822, allocations: 39.69 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009823, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001323/0.009956, allocations: 93.58 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.009976, allocations: 8 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.009984, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.009999, allocations: 3.938 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.0101, allocations: 27.92 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.0101, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.01013, allocations: 12 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01014, allocations: 0 / 384.2 MB, free: 12.46 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 (13): * Single equations (assignments): 13 * 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.635e-05/0.01023, allocations: 168.5 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.01026, allocations: 19.91 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.01046, allocations: 126.3 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01046, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01047, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01047, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.01095, allocations: 397.5 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01095, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.01102, allocations: 23.98 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01103, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01103, allocations: 8.031 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01104, allocations: 3.938 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.01104, allocations: 3.938 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.01123, allocations: 255.5 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.01125, allocations: 11.91 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.01126, allocations: 8 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.0113, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.01134, allocations: 15.91 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01135, allocations: 8 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.218e-05/0.01144, allocations: 177 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01144, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.01162, allocations: 31.94 kB / 385.4 MB, free: 11.15 MB / 362.7 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 (13): * Single equations (assignments): 13 * 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.001513/0.01314, allocations: 457.1 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01327, allocations: 51.59 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01327, allocations: 4 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.01331, allocations: 31.67 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01357, allocations: 22.98 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.01409, allocations: 288.6 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.285e-05/0.01415, allocations: 75.33 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.01419, allocations: 20.47 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.01427, allocations: 86.19 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01428, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of Templates: time 0.004332/0.01861, allocations: 1.786 MB / 388.2 MB, free: 8.469 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.399365797173232]