Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.002336/0.002336, 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.002669/0.002669, allocations: 165.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.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3609/0.3609, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.59e-06, allocations: 4 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/4.039e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004726/0.004766, allocations: 1.661 MB / 376.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.006324, allocations: 0.7909 MB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.006376, allocations: 3.938 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.006729, allocations: 27.83 kB / 377.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.007029, allocations: 51.7 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.512e-06/0.007036, allocations: 0 / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.007235, allocations: 27.91 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.007281, allocations: 11.97 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.007347, allocations: 19.92 kB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.007454, allocations: 11.92 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.007474, allocations: 4 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.007531, allocations: 4 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.007595, allocations: 19.98 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.007629, allocations: 11.92 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.007851, allocations: 59.75 kB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.007857, allocations: 0 / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007858, allocations: 0 / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.007864, allocations: 0 / 378 MB, free: 2.273 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006408/0.008505, allocations: 415.9 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.008561, allocations: 8.031 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.008622, allocations: 8.891 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.008951, allocations: 112.6 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.008972, allocations: 4.359 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.008988, allocations: 4.375 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.00926, allocations: 116.3 kB / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.009272, allocations: 192 / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.009285, allocations: 384 / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/0.009361, allocations: 24.36 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.009465, allocations: 31.8 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.01075, allocations: 1.223 MB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.01098, allocations: 265.4 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.01107, allocations: 126.9 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-05/0.01116, allocations: 123.2 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.01128, allocations: 152.6 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.01128, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001276/0.0114, allocations: 41.62 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.01154, allocations: 174.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.01192, allocations: 267 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01194, allocations: 29.7 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.01214, allocations: 202.3 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.01215, allocations: 4 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.01225, allocations: 51.36 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003663/0.01262, allocations: 0.5001 MB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.01267, allocations: 15.94 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.01297, allocations: 201.6 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.0134, allocations: 237.5 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.0134, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005187/0.01392, allocations: 165.6 kB / 382.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.01395, allocations: 8 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.01396, allocations: 4 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.01399, allocations: 11.94 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.01422, allocations: 35.92 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.01424, allocations: 15.92 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.0144, allocations: 27.84 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01443, allocations: 8 kB / 382.5 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002639/0.01469, allocations: 291.9 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.01486, allocations: 156.8 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.01501, allocations: 164.6 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000196/0.0152, allocations: 268 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002056/0.01541, allocations: 264.2 kB / 383.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002161/0.01563, allocations: 276 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.01623, allocations: 0.5155 MB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001073/0.01634, allocations: 148.8 kB / 384.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.01647, allocations: 152.9 kB / 384.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.01668, allocations: 264.1 kB / 385 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.01689, allocations: 268 kB / 385.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002271/0.01712, allocations: 276.1 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003428/0.01746, allocations: 272 kB / 385.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.01787, allocations: 452 kB / 386.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.01804, allocations: 160.8 kB / 386.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.01827, allocations: 264.1 kB / 386.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.01848, allocations: 152.8 kB / 386.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.0187, allocations: 268 kB / 387 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.01882, allocations: 144.9 kB / 387.2 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.01907, allocations: 171.2 kB / 387.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01907, allocations: 0 / 387.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.01961, allocations: 16 kB / 387.4 MB, free: 8.246 MB / 362.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 (0): * Single equations (assignments): 0 * 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.001847/0.02146, allocations: 331.4 kB / 387.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.02174, allocations: 75.47 kB / 387.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02175, allocations: 1.25 kB / 387.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.02175, allocations: 0 / 387.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.02269, allocations: 0.7162 MB / 388.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.02333, allocations: 283.8 kB / 388.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.02348, allocations: 79.83 kB / 388.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.02373, allocations: 45.08 kB / 388.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.02381, allocations: 16.5 kB / 388.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02381, allocations: 0 / 388.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of Templates: time 0.006017/0.02982, allocations: 0.7383 MB / 389.6 MB, free: 5.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.046052283956669]