Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009629/0.0009629, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009231/0.0009231, allocations: 161 kB / 24.56 MB, free: 8 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 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.2875/0.2875, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.471e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002364/0.002378, allocations: 1.712 MB / 377.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003559, allocations: 1.293 MB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.003601, allocations: 0 / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.003763, allocations: 27.78 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.004006, allocations: 83.56 kB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.004209, allocations: 127.6 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.004327, allocations: 79.77 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.004405, allocations: 15.92 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.004465, allocations: 39.91 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.004546, allocations: 23.91 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.004563, allocations: 8 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.004684, allocations: 87.81 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.00474, allocations: 27.91 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.004761, allocations: 8 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.00495, allocations: 143.5 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004952, allocations: 0 / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004953, allocations: 4 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004957, allocations: 0 / 379.7 MB, free: 0.9531 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.0004152/0.005372, allocations: 435.9 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.005415, allocations: 8.031 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.005465, allocations: 12.89 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005614, allocations: 144.4 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.005624, allocations: 384 / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.005649, allocations: 4.375 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.005796, allocations: 112 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005806, allocations: 192 / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005817, allocations: 8.125 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.005825, allocations: 0 / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.005857, allocations: 11.98 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.006153, allocations: 283.6 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.903e-05/0.006223, allocations: 39.05 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.006246, allocations: 15.62 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.006268, allocations: 8 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.00629, allocations: 33.39 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.006291, allocations: 0 / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000397/0.006688, allocations: 133.5 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.006726, allocations: 85.05 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.006841, allocations: 195.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.006851, allocations: 25.7 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.006902, allocations: 146.8 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.006923, allocations: 19.86 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.006955, allocations: 27.36 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.007073, allocations: 0.4884 MB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.007096, allocations: 7.984 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.007135, allocations: 49.08 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.007183, allocations: 43.88 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007184, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.82e-05/0.007272, allocations: 81.62 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.007282, allocations: 4 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007286, allocations: 0 / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007301, allocations: 0 / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.743e-05/0.007378, allocations: 15.98 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007383, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.007408, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007413, allocations: 0 / 382.1 MB, free: 14.3 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 6.611e-05/0.007479, allocations: 172.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.007502, allocations: 11.91 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.007632, allocations: 86.27 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007635, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007638, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007642, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.007891, allocations: 337.4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007892, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.007937, allocations: 19.98 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007938, allocations: 3.938 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007945, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007946, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007947, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.00807, allocations: 215.8 kB / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.00808, allocations: 11.94 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008097, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.008138, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.008169, allocations: 7.984 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.008175, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.008234, allocations: 147.2 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008235, allocations: 4 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.008419, allocations: 39.86 kB / 383.2 MB, free: 13.16 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.0009791/0.009398, allocations: 499.6 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.009507, allocations: 39.67 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.009511, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.009544, allocations: 31.61 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.009744, allocations: 19.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.01006, allocations: 192.8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.0101, allocations: 63.34 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.01014, allocations: 20.28 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.01017, allocations: 24.48 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01018, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003942/0.01412, allocations: 1.971 MB / 386 MB, free: 10.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.3282792340032756]