Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008958/0.0008958, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009193/0.0009193, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9871/0.9871, allocations: 177.2 MB / 205 MB, free: 5.273 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.2616/0.2616, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.009e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003095/0.003125, allocations: 1.652 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.004137, allocations: 0.5336 MB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.004191, allocations: 0 / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.004829, allocations: 455.1 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.005338, allocations: 291.1 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.005659, allocations: 127.6 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.005899, allocations: 155.7 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.005999, allocations: 16.16 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.006147, allocations: 111.8 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.006408, allocations: 247.5 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.006428, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.006505, allocations: 27.92 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.006628, allocations: 79.72 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.006666, allocations: 31.75 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.00688, allocations: 191.2 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.006884, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006885, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.00689, allocations: 0 / 381.9 MB, free: 14.73 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.0005266/0.007417, allocations: 0.6892 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.007453, allocations: 12.03 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.007514, allocations: 48.66 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.007697, allocations: 240.9 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.007705, allocations: 4.375 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.007716, allocations: 384 / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.007826, allocations: 54.95 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007834, allocations: 192 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.007843, allocations: 3.938 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.007849, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.007875, allocations: 19.92 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.008252, allocations: 411.7 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.008307, allocations: 35.06 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.008326, allocations: 11.69 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.008347, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.008375, allocations: 41.33 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.008376, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.008593, allocations: 81.41 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.008626, allocations: 51.41 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.009065, allocations: 0.6317 MB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.009077, allocations: 29.64 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.009231, allocations: 282.8 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.009254, allocations: 7.938 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.00929, allocations: 23.38 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.009477, allocations: 0.547 MB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.009496, allocations: 0 / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.00951, allocations: 7.938 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.009548, allocations: 23.67 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00955, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.455e-05/0.009645, allocations: 81.42 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.009665, allocations: 8 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.009671, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.009691, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.009787, allocations: 7.984 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.009794, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.00982, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.009827, allocations: 4 kB / 385.3 MB, free: 11.19 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 (2): * Single equations (assignments): 2 * 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.55e-05/0.009923, allocations: 156.5 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.009963, allocations: 51.66 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.01012, allocations: 76.77 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01012, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01013, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01013, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.01037, allocations: 276.5 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01038, allocations: 0 / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.01041, allocations: 7.938 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01042, allocations: 0 / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01042, allocations: 4 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01042, allocations: 0 / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01043, allocations: 4.031 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.01055, allocations: 231.6 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.01058, allocations: 35.66 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.01059, allocations: 0 / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.01064, allocations: 7.984 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.01065, allocations: 0 / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.01065, allocations: 0 / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.01091, allocations: 434.7 kB / 386.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 386.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.01108, allocations: 19.94 kB / 386.5 MB, free: 9.844 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 (2): * Single equations (assignments): 2 * 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.0007624/0.01184, allocations: 329.2 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.01193, allocations: 19.69 kB / 386.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01193, allocations: 3.938 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.01195, allocations: 11.69 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01222, allocations: 33.25 kB / 386.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.01283, allocations: 0.559 MB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.091e-05/0.01291, allocations: 123.2 kB / 387.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.01293, allocations: 4 kB / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.01296, allocations: 12.5 kB / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01296, allocations: 0 / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of Templates: time 0.003724/0.01668, allocations: 1.137 MB / 388.8 MB, free: 7.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.262905617710203]