Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.002321/0.002321, 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.002675/0.002675, allocations: 161.3 kB / 24.27 MB, free: 156 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3295/0.3295, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTable2Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/2.974e-05, allocations: 2.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003507/0.003537, allocations: 1.685 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.0047, allocations: 0.5453 MB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.004752, allocations: 7.938 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.00544, allocations: 459 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.00595, allocations: 291.2 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.006289, allocations: 135.6 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.006577, allocations: 179.6 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.006669, allocations: 16.22 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.006849, allocations: 119.8 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.007169, allocations: 251.6 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.007199, allocations: 4 kB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.00734, allocations: 55.84 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.007466, allocations: 83.72 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.007525, allocations: 43.72 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.007892, allocations: 251 kB / 379.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.007898, allocations: 4 kB / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007899, allocations: 0 / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.007904, allocations: 4 kB / 379.4 MB, free: 0.8438 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.0009657/0.00887, allocations: 0.7201 MB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.008904, allocations: 8.031 kB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.008992, allocations: 52.59 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.009364, allocations: 252.9 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.009374, allocations: 4.375 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.009401, allocations: 8.375 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.00956, allocations: 54.23 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.009572, allocations: 192 / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.009588, allocations: 8.125 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.009592, allocations: 4 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.009714, allocations: 31.83 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.01043, allocations: 479.6 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.01069, allocations: 63.02 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.01077, allocations: 23.67 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01078, allocations: 0 / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.01083, allocations: 37.52 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.01083, allocations: 7.938 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001216/0.01205, allocations: 380.9 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.0121, allocations: 55.39 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.01292, allocations: 0.6746 MB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01294, allocations: 25.7 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.01324, allocations: 302.8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.0133, allocations: 43.64 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.01336, allocations: 35.36 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/0.01374, allocations: 0.5742 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01385, allocations: 35.97 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.01395, allocations: 31.98 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.01419, allocations: 87.72 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01419, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003301/0.01452, allocations: 169.3 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.01454, allocations: 9.875 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.01455, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.01456, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01468, allocations: 23.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01469, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.01476, allocations: 7.984 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.01476, allocations: 0 / 383.6 MB, free: 12.47 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.0001676/0.01493, allocations: 176.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.01501, allocations: 47.67 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.01577, allocations: 181.7 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01578, allocations: 0 / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01578, allocations: 0 / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01578, allocations: 4 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.01676, allocations: 0.6177 MB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01677, allocations: 4.062 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.01686, allocations: 27.98 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01687, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.01688, allocations: 7.984 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01689, allocations: 3.938 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01689, allocations: 3.984 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.01734, allocations: 334.8 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.01741, allocations: 35.72 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.01743, allocations: 0 / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01754, allocations: 19.92 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.01758, allocations: 7.984 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01759, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.0181, allocations: 442.8 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0181, allocations: 0 / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.01838, allocations: 31.94 kB / 385.5 MB, free: 10.45 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.003472/0.02186, allocations: 0.4999 MB / 386 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.02222, allocations: 99.56 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02222, allocations: 0 / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.02236, allocations: 59.61 kB / 386.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.02276, allocations: 36.89 kB / 386.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.0239, allocations: 0.6504 MB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.02416, allocations: 208.8 kB / 387 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.02424, allocations: 24.47 kB / 387 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.02428, allocations: 12.5 kB / 387.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02428, allocations: 0 / 387.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of Templates: time 0.006349/0.03063, allocations: 1.717 MB / 388.8 MB, free: 7.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.069457944948226]