Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001093/0.001093, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00122/0.00122, allocations: 172.2 kB / 24.82 MB, free: 9.312 MB / 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.3536/0.3536, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.841e-05/4.092e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003836/0.003877, allocations: 1.649 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.005072, allocations: 0.5375 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.005188, allocations: 4 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.005648, allocations: 107.7 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.006141, allocations: 123.6 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.006548, allocations: 111.6 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.006776, allocations: 95.67 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.006921, allocations: 8 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.007038, allocations: 55.88 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.007194, allocations: 67.86 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.007218, allocations: 4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.007362, allocations: 43.92 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.007437, allocations: 31.91 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.007473, allocations: 15.86 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.007733, allocations: 99.61 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.007743, allocations: 3.984 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.007745, allocations: 0 / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.007752, allocations: 0 / 381.5 MB, free: 15.4 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.0007496/0.008502, allocations: 451.8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.008559, allocations: 12.03 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.008621, allocations: 16.84 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.008811, allocations: 157.2 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.008823, allocations: 384 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.008847, allocations: 8.375 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.009003, allocations: 54.94 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.009016, allocations: 4.125 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.009028, allocations: 12.11 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.009036, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.009062, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.009427, allocations: 284.3 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.009499, allocations: 35.06 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.009523, allocations: 15.77 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.009557, allocations: 3.984 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.009587, allocations: 41.33 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.009589, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006061/0.0102, allocations: 149.3 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.01024, allocations: 55.41 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.01041, allocations: 270.9 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.01043, allocations: 25.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.01051, allocations: 162.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.01055, allocations: 27.73 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.01058, allocations: 23.38 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01075, allocations: 0.5079 MB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.01076, allocations: 4 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.01078, allocations: 8 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.01084, allocations: 35.67 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01084, allocations: 3.938 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.01095, allocations: 81.52 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01097, allocations: 4 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01098, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.011, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.01109, allocations: 23.98 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.0111, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.01112, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01112, allocations: 4 kB / 383.9 MB, free: 12.75 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.0001016/0.01122, allocations: 160.5 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.01125, allocations: 19.91 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.01143, allocations: 99.3 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01143, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01143, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01144, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.0118, allocations: 349.6 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0118, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.01185, allocations: 15.98 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01186, allocations: 4.422 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01187, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01187, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01187, allocations: 4.031 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.01202, allocations: 239.4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.01203, allocations: 15.89 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.01205, allocations: 7.984 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.01209, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.01213, allocations: 11.98 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01213, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.814e-05/0.01222, allocations: 175.1 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01222, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.0124, allocations: 27.92 kB / 385 MB, free: 11.56 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.001138/0.01353, allocations: 442.8 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.01366, allocations: 43.66 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01366, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01369, allocations: 27.61 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.01397, allocations: 19.17 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.01448, allocations: 249.9 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.01454, allocations: 71.33 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01458, allocations: 24.7 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.01467, allocations: 86.19 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.01468, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.004313/0.01899, allocations: 1.548 MB / 387.5 MB, free: 9.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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: 3.6185879413969815]