Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.002546/0.002546, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002119/0.002119, 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.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3955/0.3955, allocations: 32.8 MB / 293.9 MB, free: 1.184 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.441e-05, allocations: 6.25 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003435/0.003469, allocations: 1.689 MB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004651, allocations: 0.5375 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.0047, allocations: 3.938 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.004954, allocations: 59.78 kB / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.005289, allocations: 95.53 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.005647, allocations: 135.5 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005845, allocations: 95.67 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005955, allocations: 8.234 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.006068, allocations: 51.88 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.006196, allocations: 39.89 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.006218, allocations: 7.984 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.006331, allocations: 47.92 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.006414, allocations: 23.92 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.006449, allocations: 23.91 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.006698, allocations: 111.6 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.006705, allocations: 0 / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006706, allocations: 0 / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.006712, allocations: 3.938 kB / 378.2 MB, free: 2.008 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.0006625/0.007374, allocations: 451.5 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.007419, allocations: 8.031 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.007492, allocations: 12.89 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.007696, allocations: 136.5 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.007712, allocations: 8.375 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.007735, allocations: 8.359 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.007904, allocations: 62.17 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.007921, allocations: 4.141 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007939, allocations: 8.125 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007944, allocations: 0 / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.008069, allocations: 35.97 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.00855, allocations: 307.7 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.00882, allocations: 66.97 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.008888, allocations: 23.81 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.008908, allocations: 0 / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.008938, allocations: 37.39 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.008939, allocations: 0 / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001178/0.01012, allocations: 305.6 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.01017, allocations: 59.41 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.01042, allocations: 242.4 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.01045, allocations: 25.7 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01057, allocations: 154.9 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.01062, allocations: 39.69 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.01068, allocations: 31.38 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.01095, allocations: 0.5079 MB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.01105, allocations: 31.97 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.01115, allocations: 35.98 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.01136, allocations: 91.72 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01137, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00029/0.01166, allocations: 133.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01167, allocations: 4 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01168, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.0117, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.0118, allocations: 19.98 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01181, allocations: 4 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.01186, allocations: 15.92 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01188, allocations: 4 kB / 381 MB, free: 14.97 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.0001343/0.01201, allocations: 168.5 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.01205, allocations: 19.91 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.01243, allocations: 150.8 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01243, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01244, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01244, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.01313, allocations: 468.6 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01313, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01324, allocations: 27.92 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01324, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01325, allocations: 4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01326, allocations: 3.938 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.01326, allocations: 4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.01365, allocations: 307.2 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01367, allocations: 11.91 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.01369, allocations: 4 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.01377, allocations: 11.94 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.01382, allocations: 15.91 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.01383, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.01397, allocations: 175.2 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01397, allocations: 0 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.01436, allocations: 20 kB / 382.4 MB, free: 13.5 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.003231/0.01759, allocations: 0.489 MB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.01791, allocations: 103.5 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01791, allocations: 0 / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01804, allocations: 63.59 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01838, allocations: 19.98 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.01899, allocations: 284.5 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01911, allocations: 92.94 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.01917, allocations: 20.45 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.01922, allocations: 20.5 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01922, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005093/0.02432, allocations: 1.576 MB / 385.1 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.05840786092449]