Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001474/0.001474, allocations: 85.36 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001599/0.001599, allocations: 164.7 kB / 23.96 MB, free: 4.164 MB / 14.72 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.386/1.386, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 179] 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.1939/0.1939, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.572e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002802/0.002828, allocations: 1.595 MB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003889, allocations: 0.5181 MB / 442.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.003945, allocations: 4 kB / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.004133, allocations: 23.84 kB / 442.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.004436, allocations: 83.55 kB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.00471, allocations: 90.83 kB / 442.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004865, allocations: 71.7 kB / 442.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.004951, allocations: 7.984 kB / 442.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.00502, allocations: 27.92 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.005084, allocations: 23.91 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.005101, allocations: 0 / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.005183, allocations: 31.94 kB / 442.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.005232, allocations: 15.92 kB / 442.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.005266, allocations: 12 kB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00544, allocations: 79.7 kB / 442.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005442, allocations: 0 / 442.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005443, allocations: 3.938 kB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.005446, allocations: 3.938 kB / 442.7 MB, free: 5.566 MB / 366.1 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.0004239/0.00587, allocations: 305.9 kB / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.005902, allocations: 8.031 kB / 443 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.00594, allocations: 8.891 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.00613, allocations: 133.6 kB / 443.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.006142, allocations: 4.375 kB / 443.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.006162, allocations: 8.375 kB / 443.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.006301, allocations: 50.23 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006312, allocations: 192 / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006323, allocations: 4.125 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.006327, allocations: 0 / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.006425, allocations: 27.86 kB / 443.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.006736, allocations: 220.6 kB / 443.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.006934, allocations: 38.56 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.006992, allocations: 20.94 kB / 443.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.007017, allocations: 3.938 kB / 443.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.007041, allocations: 38.5 kB / 443.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.007042, allocations: 0 / 443.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005491/0.007591, allocations: 137.4 kB / 443.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.007641, allocations: 55.34 kB / 443.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.00779, allocations: 156.7 kB / 443.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.007807, allocations: 25.7 kB / 443.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.007868, allocations: 96.14 kB / 444 MB, free: 4.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.007893, allocations: 19.84 kB / 444 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.007931, allocations: 21.66 kB / 444 MB, free: 4.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.008064, allocations: 318.8 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.008136, allocations: 19.98 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.008204, allocations: 19.98 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.008339, allocations: 40.83 kB / 444.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008339, allocations: 4 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.008536, allocations: 89.5 kB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.008552, allocations: 10.81 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.008558, allocations: 4.234 kB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00857, allocations: 0 / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.008641, allocations: 15.98 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.008645, allocations: 0 / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.008686, allocations: 4 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.008695, allocations: 4 kB / 444.6 MB, free: 3.52 MB / 366.1 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 9.383e-05/0.008788, allocations: 122.5 kB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.008824, allocations: 11.89 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.00907, allocations: 90.34 kB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009072, allocations: 0 / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009076, allocations: 3.938 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.00908, allocations: 3.984 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.009493, allocations: 286.2 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.009495, allocations: 4 kB / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.009562, allocations: 15.98 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.009568, allocations: 4 kB / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.009575, allocations: 0 / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.009577, allocations: 0 / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009578, allocations: 0 / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.009838, allocations: 183.3 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.009851, allocations: 7.953 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.009866, allocations: 3.938 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.009938, allocations: 8 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.009965, allocations: 3.984 kB / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.009972, allocations: 4.188 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.59e-05/0.01007, allocations: 119.2 kB / 445.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01007, allocations: 0 / 445.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.01031, allocations: 8 kB / 445.4 MB, free: 2.586 MB / 366.1 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.00154/0.01185, allocations: 436.7 kB / 445.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.01205, allocations: 47.91 kB / 445.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01205, allocations: 0 / 445.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.01213, allocations: 23.98 kB / 445.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01242, allocations: 26.86 kB / 445.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.01284, allocations: 177.4 kB / 446.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.01292, allocations: 75.33 kB / 446.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.01296, allocations: 11.98 kB / 446.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.01299, allocations: 12.5 kB / 446.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.01299, allocations: 0 / 446.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Templates: time 0.003999/0.01699, allocations: 1.154 MB / 447.4 MB, free: 0.7773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.440768711268902]