Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0009514/0.0009514, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001591/0.001591, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9666/0.9666, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1991/0.1991, allocations: 34.25 MB / 296.9 MB, free: 13.91 MB / 282.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.964e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.002615/0.002634, allocations: 1.69 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004019, allocations: 1.282 MB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.00408, allocations: 0 / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.004266, allocations: 23.84 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.004559, allocations: 99.41 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004821, allocations: 119.7 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.004951, allocations: 83.69 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.005045, allocations: 12 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.005117, allocations: 43.89 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.005216, allocations: 27.91 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005232, allocations: 8 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.005375, allocations: 95.75 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.00543, allocations: 27.91 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.005451, allocations: 11.94 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.005655, allocations: 139.6 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005657, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005657, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.00566, allocations: 0 / 383 MB, free: 19.71 MB / 314.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.0003528/0.006013, allocations: 435.9 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.006047, allocations: 8.031 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.006086, allocations: 12.89 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.006215, allocations: 132.5 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.006225, allocations: 4.375 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.006244, allocations: 4.375 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.006369, allocations: 112 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006381, allocations: 4.125 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.006389, allocations: 8.125 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006395, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.006425, allocations: 7.984 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.006653, allocations: 260.3 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.006718, allocations: 47.05 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.006736, allocations: 15.69 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.00675, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.006769, allocations: 45.41 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.00677, allocations: 0 / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003622/0.007132, allocations: 113.4 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.007157, allocations: 77.11 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.007253, allocations: 192.1 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.00726, allocations: 25.7 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.007295, allocations: 146.8 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.007318, allocations: 27.73 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.007355, allocations: 31.36 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.007405, allocations: 0.4923 MB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.007423, allocations: 4 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.007458, allocations: 53.06 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.007502, allocations: 31.61 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007503, allocations: 0 / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.842e-05/0.007601, allocations: 65.58 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007614, allocations: 8 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007618, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007629, allocations: 3.938 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.007709, allocations: 20.02 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007712, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.00775, allocations: 8 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007758, allocations: 7.984 kB / 385.3 MB, free: 17.11 MB / 314.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 4.799e-05/0.007806, allocations: 156.5 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.007847, allocations: 15.89 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.007973, allocations: 74.72 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007976, allocations: 8 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007977, allocations: 0 / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.007981, allocations: 3.984 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.008236, allocations: 322.3 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008237, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.008294, allocations: 15.98 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008297, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.008303, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008305, allocations: 4 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008306, allocations: 80 / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.008408, allocations: 219.7 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.00842, allocations: 11.94 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.008435, allocations: 4 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.008504, allocations: 11.98 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.00853, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.008534, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.008578, allocations: 148.9 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008578, allocations: 0 / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.008887, allocations: 43.86 kB / 386.3 MB, free: 16.02 MB / 314.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.001278/0.01017, allocations: 493 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.01027, allocations: 39.64 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01027, allocations: 0 / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.0103, allocations: 27.61 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.0106, allocations: 26.77 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.01091, allocations: 190.2 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.01094, allocations: 67.34 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.01099, allocations: 7.984 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.01107, allocations: 90.19 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01107, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.004358/0.01543, allocations: 2.208 MB / 389.5 MB, free: 13.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.088881531264633]