Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002038/0.002038, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.236/0.236, allocations: 46.94 MB / 360.9 MB, free: 4.137 MB / 286.1 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.89 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 66.04 MB / 0.5611 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00345/0.3565, allocations: 1.665 MB / 0.5627 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3577, allocations: 0.5621 MB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.3578, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.3581, allocations: 75.7 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.3584, allocations: 103.6 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3589, allocations: 179.4 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3591, allocations: 99.69 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3592, allocations: 12.22 kB / 0.5637 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.3593, allocations: 47.83 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3594, allocations: 59.8 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3594, allocations: 4 kB / 0.5638 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3595, allocations: 47.98 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.3596, allocations: 31.86 kB / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3596, allocations: 27.73 kB / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3598, allocations: 118.2 kB / 0.5641 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3598, allocations: 4 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3598, allocations: 3.938 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3599, allocations: 0 / 0.5641 GB, free: 1.262 MB / 398.1 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.0005536/0.3604, allocations: 357.5 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3604, allocations: 12.03 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3605, allocations: 8.891 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3607, allocations: 150.2 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3607, allocations: 4.375 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3607, allocations: 384 / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.361, allocations: 73.78 kB / 0.5646 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.361, allocations: 11.98 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.361, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3611, allocations: 0 / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3612, allocations: 43.91 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3617, allocations: 268.3 kB / 0.565 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3619, allocations: 58.58 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.362, allocations: 32.91 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.362, allocations: 4 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3621, allocations: 30.56 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3621, allocations: 0 / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.3636, allocations: 429.3 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3636, allocations: 55.41 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3639, allocations: 222.2 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3639, allocations: 25.7 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.364, allocations: 108.1 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.364, allocations: 35.69 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.3641, allocations: 25.7 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3642, allocations: 326.8 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3644, allocations: 55.89 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3645, allocations: 51.97 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3648, allocations: 129 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3648, allocations: 0 / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000371/0.3652, allocations: 169.5 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3652, allocations: 8 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3652, allocations: 0 / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3652, allocations: 4 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3653, allocations: 31.91 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3653, allocations: 3.938 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.3654, allocations: 12 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3654, allocations: 7.969 kB / 0.5667 GB, free: 14.39 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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 0.0001206/0.3655, allocations: 129.8 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3656, allocations: 15.89 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.366, allocations: 198.9 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.366, allocations: 0 / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.366, allocations: 3.938 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.366, allocations: 0 / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.3667, allocations: 435.7 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3667, allocations: 0 / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3668, allocations: 39.98 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3669, allocations: 3.938 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3669, allocations: 3.984 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3669, allocations: 4 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3669, allocations: 288 / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.3673, allocations: 276.9 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.3673, allocations: 15.89 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3673, allocations: 8 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3674, allocations: 15.98 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3675, allocations: 7.984 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3675, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3676, allocations: 168.2 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3676, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3679, allocations: 27.94 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001921/0.3698, allocations: 0.4895 MB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3702, allocations: 123.9 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3702, allocations: 0 / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.3704, allocations: 67.89 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3708, allocations: 29.53 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.3715, allocations: 332.7 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3716, allocations: 105.9 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3717, allocations: 36.45 kB / 0.5691 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.3718, allocations: 19.42 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3718, allocations: 192 / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005431/0.3772, allocations: 1.704 MB / 0.5708 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.50409840233624]