Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009576/0.0009576, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009832/0.0009832, allocations: 171.7 kB / 24.92 MB, free: 8.727 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 1.01/1.01, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.2704/0.2704, allocations: 34.27 MB / 296.1 MB, free: 0.7461 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.92e-07/7.92e-07, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.196e-06/8.988e-06, allocations: 2.312 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001934/0.001943, allocations: 1.765 MB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.002607, allocations: 0.5684 MB / 327.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.002647, allocations: 4 kB / 327.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.003033, allocations: 455.1 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.003301, allocations: 295.1 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.003541, allocations: 175.5 kB / 328.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.0037, allocations: 180.1 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.003762, allocations: 16.2 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.003859, allocations: 123.8 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.004002, allocations: 203.6 kB / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004014, allocations: 4 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.004083, allocations: 51.91 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.004144, allocations: 83.72 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.004173, allocations: 35.73 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004349, allocations: 223 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-06/0.004351, allocations: 0 / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004351, allocations: 0 / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.004354, allocations: 4 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004877/0.004842, allocations: 0.554 MB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.004868, allocations: 8.031 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.004906, allocations: 24.91 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.00507, allocations: 246 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.005078, allocations: 4.375 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005092, allocations: 8.375 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.005173, allocations: 66.81 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005181, allocations: 192 / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.005187, allocations: 4.125 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005192, allocations: 4 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.005213, allocations: 12 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.005438, allocations: 211 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.00548, allocations: 29.39 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.005496, allocations: 16.84 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.00551, allocations: 7.938 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.005525, allocations: 30.56 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005526, allocations: 0 / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000373/0.005899, allocations: 161.5 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.005922, allocations: 55.41 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.006214, allocations: 0.5283 MB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006224, allocations: 25.7 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.006281, allocations: 145.3 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.006304, allocations: 27.78 kB / 331.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.006332, allocations: 17.7 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.006418, allocations: 362.6 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.006432, allocations: 11.98 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.006444, allocations: 4 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.006478, allocations: 27.67 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006479, allocations: 4 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.966e-05/0.006548, allocations: 73.83 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.006559, allocations: 11.98 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006562, allocations: 0 / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.006571, allocations: 0 / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.006624, allocations: 16 kB / 332.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.006627, allocations: 4.062 kB / 332.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.006654, allocations: 11.94 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.006662, allocations: 432 / 332.1 MB, free: 0.6094 MB / 298.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 (8): * Single equations (assignments): 8 * 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.528e-05/0.006727, allocations: 124.6 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.006754, allocations: 23.97 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.006866, allocations: 105.5 kB / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006868, allocations: 3.984 kB / 332.4 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.00687, allocations: 3.938 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006872, allocations: 0 / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.007114, allocations: 307.3 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007116, allocations: 0 / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.00716, allocations: 19.98 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007161, allocations: 4.031 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007168, allocations: 4 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007169, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.007171, allocations: 4 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.718e-05/0.007258, allocations: 172.2 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.007282, allocations: 39.7 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.007296, allocations: 4 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.007337, allocations: 7.984 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.007357, allocations: 4 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.007363, allocations: 3.984 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.00753, allocations: 287.2 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00753, allocations: 4 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.007679, allocations: 24 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001145/0.008824, allocations: 0.58 MB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.008894, allocations: 40.81 kB / 333.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.008902, allocations: 8 kB / 333.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.008925, allocations: 24.78 kB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.009097, allocations: 29.95 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.009631, allocations: 0.598 MB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.009703, allocations: 123.2 kB / 334.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.009738, allocations: 16.72 kB / 334.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.009791, allocations: 63.38 kB / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of SimCode: time 4.1e-07/0.009791, allocations: 0 / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003633/0.01342, allocations: 1.757 MB / 336.5 MB, free: 12.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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: 2.887383410707116]