Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001053/0.001053, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001097/0.001097, allocations: 161 kB / 24.56 MB, free: 16 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.629 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.2872/0.2872, allocations: 34.26 MB / 295.7 MB, free: 0.6719 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.674e-05, allocations: 6.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002337/0.002364, allocations: 1.661 MB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.003056, allocations: 0.5297 MB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.003105, allocations: 0 / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.003559, allocations: 459 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.003941, allocations: 291.2 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.004183, allocations: 127.6 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.004385, allocations: 167.6 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.004479, allocations: 11.98 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.004587, allocations: 115.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.004777, allocations: 247.5 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.004794, allocations: 4 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.004858, allocations: 31.91 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.004945, allocations: 75.72 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.004984, allocations: 39.73 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.005197, allocations: 187.2 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.0052, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005202, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005207, allocations: 0 / 382 MB, free: 14.67 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.000543/0.00575, allocations: 0.697 MB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.005788, allocations: 8.031 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.005848, allocations: 52.59 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.006269, allocations: 244.8 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.006279, allocations: 4.375 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.006292, allocations: 4.375 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.006413, allocations: 54.95 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.00642, allocations: 192 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006429, allocations: 4.125 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006437, allocations: 4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.006465, allocations: 11.92 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.00685, allocations: 415.8 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.006938, allocations: 35.05 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.006961, allocations: 7.688 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.006984, allocations: 7.938 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.007006, allocations: 41.33 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.007007, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.007195, allocations: 89.67 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.007226, allocations: 51.41 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.007642, allocations: 0.6355 MB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.007652, allocations: 29.7 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.00779, allocations: 278.8 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.007808, allocations: 11.95 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.007838, allocations: 23.36 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.008, allocations: 0.5509 MB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.008018, allocations: 0 / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.00803, allocations: 4 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.008066, allocations: 23.61 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.008068, allocations: 0 / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.73e-05/0.008166, allocations: 89.34 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.008181, allocations: 5.875 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008187, allocations: 8 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.008203, allocations: 0 / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.008286, allocations: 8 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008292, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.008319, allocations: 7.922 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008325, allocations: 4 kB / 385.3 MB, free: 11.08 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 (3): * Single equations (assignments): 3 * 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 7.474e-05/0.0084, allocations: 156.6 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.008435, allocations: 59.48 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.008569, allocations: 81.11 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.008572, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.008575, allocations: 4 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.008578, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.008786, allocations: 276.5 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008787, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.008821, allocations: 11.98 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.008824, allocations: 3.938 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.008829, allocations: 0 / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008831, allocations: 0 / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.008832, allocations: 0 / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.008954, allocations: 235.6 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.008979, allocations: 39.72 kB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008996, allocations: 7.938 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.009036, allocations: 3.984 kB / 386.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.009049, allocations: 0 / 386.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.009052, allocations: 4 kB / 386.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002519/0.009303, allocations: 430.8 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009304, allocations: 0 / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.009469, allocations: 16 kB / 386.6 MB, free: 9.707 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 (3): * Single equations (assignments): 3 * 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.0007183/0.01019, allocations: 334.5 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.01028, allocations: 23.61 kB / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01028, allocations: 0 / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.01029, allocations: 15.69 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01054, allocations: 33.59 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.01114, allocations: 0.5589 MB / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.01121, allocations: 119.2 kB / 387.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.01124, allocations: 4 kB / 387.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.01127, allocations: 16.48 kB / 387.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01127, allocations: 4 kB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003777/0.01505, allocations: 1.195 MB / 388.9 MB, free: 7.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.2778545040637255]