Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.00148/0.00148, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001603/0.001603, allocations: 161.7 kB / 24.26 MB, free: 180 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3486/0.3486, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.285e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003672/0.003705, allocations: 1.662 MB / 379 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.006226, allocations: 1.278 MB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.006309, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.006584, allocations: 27.78 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.006991, allocations: 95.42 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.007559, allocations: 175.4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.007784, allocations: 83.75 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.007908, allocations: 11.98 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.008015, allocations: 43.84 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.008161, allocations: 23.97 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.008183, allocations: 4 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.008448, allocations: 95.81 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.008523, allocations: 23.91 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.008573, allocations: 19.98 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.008982, allocations: 159.4 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.008987, allocations: 0 / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.008989, allocations: 0 / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008994, allocations: 0 / 381 MB, free: 15.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006974/0.009692, allocations: 345.6 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.009735, allocations: 8.031 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.009805, allocations: 8.891 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.01007, allocations: 143.6 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.01009, allocations: 4.375 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.01012, allocations: 8.359 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.01036, allocations: 97.66 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01037, allocations: 192 / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.01039, allocations: 12.12 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.0104, allocations: 0 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.01056, allocations: 43.89 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.01107, allocations: 240.5 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.01122, allocations: 50.55 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.01132, allocations: 28.88 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.01135, allocations: 0 / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.0114, allocations: 38.5 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.0114, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009651/0.01236, allocations: 237.4 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.01244, allocations: 77.11 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.01265, allocations: 145.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01268, allocations: 25.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.01276, allocations: 96.12 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.01282, allocations: 27.75 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.01288, allocations: 21.7 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.01308, allocations: 326.8 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.01321, allocations: 39.97 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.01337, allocations: 79.45 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.01363, allocations: 92.84 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01363, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003674/0.014, allocations: 129.7 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01401, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01402, allocations: 3.984 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.01405, allocations: 7.984 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01418, allocations: 19.92 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01419, allocations: 4 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.01426, allocations: 11.98 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01427, allocations: 4 kB / 383.3 MB, free: 12.7 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 (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 0.0001257/0.0144, allocations: 125.8 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.01445, allocations: 11.95 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.01488, allocations: 138.3 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01488, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01489, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.0149, allocations: 3.984 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/0.01557, allocations: 354 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01557, allocations: 0 / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01567, allocations: 15.98 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.01568, allocations: 7.984 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.0157, allocations: 4 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.0157, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0157, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.01612, allocations: 231.8 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01614, allocations: 7.953 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.01616, allocations: 0 / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01627, allocations: 7.984 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.01632, allocations: 11.98 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01633, allocations: 3.938 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.01646, allocations: 113.5 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01646, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000354/0.01682, allocations: 47.8 kB / 384.4 MB, free: 11.57 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 (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.002491/0.01931, allocations: 0.5239 MB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000451/0.01976, allocations: 87.92 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.01976, allocations: 0 / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01992, allocations: 47.91 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.02031, allocations: 23.88 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.02109, allocations: 235.1 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.02123, allocations: 83.31 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.02136, allocations: 33 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.02143, allocations: 24.5 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02143, allocations: 0 / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Templates: time 0.006728/0.02816, allocations: 2.016 MB / 387.4 MB, free: 8.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.002067461959086]