Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001296/0.001296, 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.001216/0.001216, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.093/1.093, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3147/0.3147, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.132e-05, allocations: 6.25 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002613/0.002645, allocations: 1.626 MB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.00352, allocations: 0.5258 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.003589, allocations: 4 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.003838, allocations: 23.8 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.004093, allocations: 79.55 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.004318, allocations: 91.64 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.004497, allocations: 67.92 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004611, allocations: 4 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.709e-05/0.004678, allocations: 31.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.004745, allocations: 23.91 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.004761, allocations: 4 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.004834, allocations: 27.94 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.004891, allocations: 19.92 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.004918, allocations: 11.94 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.005086, allocations: 75.58 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005088, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.005089, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005094, allocations: 0 / 381.1 MB, free: 15.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000473/0.005567, allocations: 416.1 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.005622, allocations: 8.031 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.005661, allocations: 12.89 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.005803, allocations: 147 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.005813, allocations: 4.312 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.005835, allocations: 4.375 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.005949, allocations: 50.95 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00596, allocations: 4.188 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.005971, allocations: 8.109 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005976, allocations: 0 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.006007, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.006299, allocations: 248.4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006463, allocations: 55.03 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.00648, allocations: 7.688 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.006508, allocations: 4 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.006535, allocations: 37.33 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.006537, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002938/0.00683, allocations: 93.55 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.006863, allocations: 51.41 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.006994, allocations: 204.9 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.007007, allocations: 29.7 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.007076, allocations: 146.8 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.007098, allocations: 19.84 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.007132, allocations: 23.38 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.007283, allocations: 0.4923 MB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.007296, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.00731, allocations: 11.92 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.007341, allocations: 19.69 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007344, allocations: 3.938 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.473e-05/0.007418, allocations: 61.89 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.00743, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007435, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.007448, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.007492, allocations: 15.94 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007497, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.007512, allocations: 3.984 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.007519, allocations: 11.94 kB / 383.3 MB, free: 13.37 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 (5): * Single equations (assignments): 5 * 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 8.009e-05/0.0076, allocations: 156.5 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.007615, allocations: 7.953 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.00773, allocations: 66.12 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007732, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007734, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007738, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.007988, allocations: 305.9 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007989, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.00802, allocations: 11.98 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008022, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.008026, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.008029, allocations: 4 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00803, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.008136, allocations: 211.8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-06/0.008143, allocations: 3.953 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.008155, allocations: 4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.008183, allocations: 4.188 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.00821, allocations: 7.984 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008215, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.332e-05/0.008278, allocations: 151.1 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008278, allocations: 0 / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.008424, allocations: 12 kB / 384.2 MB, free: 12.36 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 (5): * Single equations (assignments): 5 * 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.0008216/0.009246, allocations: 390.2 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.009326, allocations: 27.67 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009327, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.009347, allocations: 19.62 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.009549, allocations: 31.25 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.009863, allocations: 174.6 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.009906, allocations: 63.34 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.699e-05/0.009933, allocations: 7.984 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.009996, allocations: 78.2 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.624e-06/0.009997, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003074/0.01307, allocations: 1.272 MB / 386.3 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.3025844278745353]