Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.002599/0.002599, 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.002964/0.002964, allocations: 165.3 kB / 24.27 MB, free: 152 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.616/1.616, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3364/0.3364, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.087e-05, allocations: 9.203 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003336/0.003366, allocations: 1.623 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004578, allocations: 0.5298 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.004635, allocations: 3.938 kB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.004935, allocations: 87.67 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.005263, allocations: 119.5 kB / 377.7 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.005546, allocations: 91.69 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.005721, allocations: 91.69 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.005811, allocations: 11.98 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.005901, allocations: 43.89 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.00601, allocations: 55.86 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.006029, allocations: 4 kB / 377.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.00613, allocations: 43.92 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.006183, allocations: 27.91 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.006218, allocations: 15.94 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.006425, allocations: 115.5 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006428, allocations: 0 / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006429, allocations: 0 / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006433, allocations: 0 / 378.1 MB, free: 2.109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005948/0.007028, allocations: 451.5 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.007068, allocations: 8.031 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.007124, allocations: 16.89 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.007357, allocations: 156.4 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.007367, allocations: 384 / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.007398, allocations: 8.375 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.007546, allocations: 58.17 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.007557, allocations: 192 / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.007568, allocations: 8.062 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.007575, allocations: 3.984 kB / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.007661, allocations: 19.98 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.008131, allocations: 303.7 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.008254, allocations: 46.98 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.008312, allocations: 27.7 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.008344, allocations: 4 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.008382, allocations: 37.39 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.008383, allocations: 0 / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008684/0.009251, allocations: 209.3 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.009299, allocations: 51.41 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.009577, allocations: 265.8 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.009601, allocations: 29.7 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.009725, allocations: 166.8 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.009761, allocations: 27.75 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.009813, allocations: 31.38 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005607/0.01037, allocations: 0.5079 MB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.01045, allocations: 16 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.0105, allocations: 19.98 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01064, allocations: 59.89 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.01065, allocations: 4 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002039/0.01085, allocations: 97.53 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01087, allocations: 8 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01087, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01089, allocations: 11.94 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.01099, allocations: 15.98 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01099, allocations: 0 / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.01103, allocations: 4 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.01104, allocations: 0 / 380.8 MB, free: 15.27 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 (8): * Single equations (assignments): 8 * 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.0001346/0.01117, allocations: 168.5 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.01123, allocations: 19.91 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.01151, allocations: 115 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01151, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.01152, allocations: 4 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01152, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.01211, allocations: 416.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.01212, allocations: 3.984 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.01219, allocations: 12 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.0122, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.0122, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01221, allocations: 4.031 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01221, allocations: 432 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.01253, allocations: 263.4 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01255, allocations: 7.906 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01257, allocations: 8 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.01263, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01268, allocations: 15.91 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.01269, allocations: 4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.01285, allocations: 183.2 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01285, allocations: 0 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.01311, allocations: 27.92 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.003331/0.01644, allocations: 488.9 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.01669, allocations: 71.59 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0167, allocations: 0 / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.0168, allocations: 47.61 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.01716, allocations: 22.64 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.01774, allocations: 253.7 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.01786, allocations: 92.8 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.01792, allocations: 16.78 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.01797, allocations: 16.5 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01797, allocations: 0 / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.004914/0.02288, allocations: 1.387 MB / 384.4 MB, free: 11.74 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 4.885700209997594]