Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0008855/0.0008855, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001913, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006754/0.0006754, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008318/0.001507, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.985/0.985, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2005/1.186, allocations: 49.51 MB / 220.5 MB, free: 5.258 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1796/0.1796, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02703/0.2066, allocations: 12.29 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.548e-05, allocations: 6.25 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003003/0.003028, allocations: 1.685 MB / 268.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.003737, allocations: 371.1 kB / 269.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.003796, allocations: 4 kB / 269.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.004336, allocations: 494.9 kB / 269.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.004623, allocations: 271.4 kB / 270 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.004945, allocations: 159.6 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.005207, allocations: 171.6 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.005288, allocations: 11.98 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005449, allocations: 159.8 kB / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.00561, allocations: 191.7 kB / 270.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005628, allocations: 4 kB / 270.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/0.005718, allocations: 31.92 kB / 270.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.005802, allocations: 83.72 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.005843, allocations: 35.75 kB / 270.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.006047, allocations: 195.1 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.006064, allocations: 4 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006066, allocations: 0 / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.006085, allocations: 0 / 271 MB, free: 2.664 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006511/0.006736, allocations: 0.5837 MB / 271.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006771, allocations: 12.03 kB / 271.6 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.006827, allocations: 24.91 kB / 271.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.007021, allocations: 238.1 kB / 271.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.00703, allocations: 4.375 kB / 271.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.007049, allocations: 8.375 kB / 271.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.00716, allocations: 58.94 kB / 272 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.00717, allocations: 8.078 kB / 272 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.007178, allocations: 4.125 kB / 272 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007184, allocations: 0 / 272 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.007212, allocations: 11.98 kB / 272 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.007545, allocations: 203.1 kB / 272.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.007645, allocations: 30.58 kB / 272.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.007666, allocations: 12.8 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.00769, allocations: 4 kB / 272.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.007716, allocations: 38.5 kB / 272.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.007717, allocations: 0 / 272.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003994/0.008117, allocations: 121.5 kB / 272.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.008148, allocations: 55.41 kB / 272.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.00848, allocations: 0.5205 MB / 273 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.008493, allocations: 25.7 kB / 273 MB, free: 0.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.00858, allocations: 145.3 kB / 273.1 MB, free: 448 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.008614, allocations: 27.75 kB / 273.2 MB, free: 420 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.008652, allocations: 13.72 kB / 273.2 MB, free: 400 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008767, allocations: 362.7 kB / 273.5 MB, free: 28 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.008787, allocations: 8 kB / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.0088, allocations: 4 kB / 273.5 MB, free: 16 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.008862, allocations: 35.59 kB / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.008863, allocations: 0 / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.174e-05/0.008945, allocations: 73.59 kB / 273.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.008957, allocations: 4 kB / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.008962, allocations: 8 kB / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.008971, allocations: 288 / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.00905, allocations: 15.98 kB / 273.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.009052, allocations: 4 kB / 273.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.009081, allocations: 7.984 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.009087, allocations: 4 kB / 273.7 MB, free: 15.86 MB / 282.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 (7): * Single equations (assignments): 7 * 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 7.934e-05/0.009167, allocations: 116.6 kB / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.009197, allocations: 31.89 kB / 273.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.009325, allocations: 93.84 kB / 273.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009327, allocations: 0 / 273.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.009332, allocations: 4 kB / 273.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.009336, allocations: 3.984 kB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.009698, allocations: 282.6 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.009701, allocations: 0 / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.009779, allocations: 19.98 kB / 274.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.009817, allocations: 31.72 kB / 274.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.00982, allocations: 0 / 274.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.009826, allocations: 3.938 kB / 274.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.009831, allocations: 7.984 kB / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009833, allocations: 0 / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.009972, allocations: 175.4 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.009994, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.01007, allocations: 4 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.0101, allocations: 11.98 kB / 274.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.01011, allocations: 4 kB / 274.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.01039, allocations: 279.2 kB / 274.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.017e-06/0.0104, allocations: 0 / 274.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01063, allocations: 23.94 kB / 274.8 MB, free: 14.73 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001588/0.01222, allocations: 0.5506 MB / 275.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.01232, allocations: 28.83 kB / 275.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.01233, allocations: 12 kB / 275.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.01237, allocations: 24.78 kB / 275.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01266, allocations: 41.89 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01373, allocations: 0.5824 MB / 276 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01384, allocations: 123.2 kB / 276.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.0139, allocations: 16.3 kB / 276.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.01398, allocations: 67.36 kB / 276.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.01398, allocations: 0 / 276.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Templates: time 0.005392/0.01937, allocations: 1.574 MB / 277.8 MB, free: 11.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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: 2.8814887134358287]