Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001864/0.001864, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002878/0.002878, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 8 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.2323/0.2323, allocations: 46.94 MB / 360.8 MB, free: 4.262 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 68.14 kB / 0.4967 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3754, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.004372/0.3797, allocations: 1.688 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3821, allocations: 1.302 MB / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3822, allocations: 0 / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.3827, allocations: 31.78 kB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.3832, allocations: 83.62 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.3839, allocations: 175 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3841, allocations: 79.77 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3843, allocations: 16 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.3844, allocations: 35.84 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3846, allocations: 35.84 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3846, allocations: 4 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3848, allocations: 99.88 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.3849, allocations: 27.91 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.3849, allocations: 27.8 kB / 0.5646 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.3853, allocations: 153.8 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3853, allocations: 0 / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3853, allocations: 3.938 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3853, allocations: 0 / 0.5648 GB, free: 0.6562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006508/0.3859, allocations: 341.7 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.386, allocations: 8.031 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.386, allocations: 8.891 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.3863, allocations: 138.4 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3863, allocations: 384 / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.3863, allocations: 8.312 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3865, allocations: 83.5 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3865, allocations: 0 / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3866, allocations: 4 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3866, allocations: 0 / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3868, allocations: 40.03 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3873, allocations: 279.8 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3874, allocations: 50.53 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.3875, allocations: 24.94 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3875, allocations: 7.938 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3876, allocations: 34.56 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3876, allocations: 3.938 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008459/0.3884, allocations: 233.3 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.3885, allocations: 77.11 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3887, allocations: 153.5 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3887, allocations: 25.7 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3888, allocations: 104.1 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3888, allocations: 27.77 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.3889, allocations: 21.72 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.389, allocations: 318.8 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3891, allocations: 35.97 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3893, allocations: 53.62 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3895, allocations: 92.81 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3895, allocations: 4 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003007/0.3898, allocations: 113.8 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3898, allocations: 10.19 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3898, allocations: 4.062 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3899, allocations: 4 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.39, allocations: 27.92 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.39, allocations: 3.984 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.3901, allocations: 11.92 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.3901, allocations: 4 kB / 0.567 GB, free: 14.14 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 (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 0.0001055/0.3902, allocations: 113.8 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3902, allocations: 7.953 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.3907, allocations: 142.3 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3907, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3907, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3907, allocations: 11.92 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.3914, allocations: 393.5 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3914, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.3915, allocations: 19.98 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3915, allocations: 0 / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3915, allocations: 3.938 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3915, allocations: 3.938 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3915, allocations: 0 / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.3919, allocations: 223.4 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3919, allocations: 7.953 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3919, allocations: 7.922 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.392, allocations: 12 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3921, allocations: 3.984 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3921, allocations: 4 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.3922, allocations: 115.2 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 4 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.3925, allocations: 47.8 kB / 0.5681 GB, free: 12.95 MB / 414.1 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.001807/0.3943, allocations: 0.4937 MB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3946, allocations: 87.86 kB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3946, allocations: 0 / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3947, allocations: 47.97 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.0003663/0.3951, allocations: 19.61 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.3957, allocations: 217.9 kB / 0.569 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.396, allocations: 0.704 MB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.852e-05/0.3961, allocations: 36.88 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.3962, allocations: 15.44 kB / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3962, allocations: 0 / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.005804/0.402, allocations: 1.96 MB / 0.5716 GB, free: 9.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.52414143900387]