Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001568/0.001568, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001557/0.001557, allocations: 210 kB / 24.48 MB, free: 3.938 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 59.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3724, allocations: 65.48 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003267/0.3757, allocations: 1.648 MB / 0.5598 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3768, allocations: 0.5621 MB / 0.5604 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3768, allocations: 0 / 0.5604 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.3775, allocations: 455.1 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.3779, allocations: 295.3 kB / 0.5611 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.3784, allocations: 179 kB / 0.5612 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.3786, allocations: 179.6 kB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3787, allocations: 19.97 kB / 0.5614 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3789, allocations: 115.7 kB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.3791, allocations: 251.5 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3792, allocations: 7.938 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.3792, allocations: 32 kB / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3794, allocations: 83.69 kB / 0.5619 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.3794, allocations: 75.17 kB / 0.562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.3798, allocations: 281 kB / 0.5622 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3798, allocations: 0 / 0.5622 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3798, allocations: 0 / 0.5622 GB, free: 3.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3798, allocations: 0 / 0.5622 GB, free: 3.348 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.000763/0.3806, allocations: 0.5815 MB / 0.5628 GB, free: 2.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3806, allocations: 12.03 kB / 0.5628 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.3807, allocations: 44.61 kB / 0.5629 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.381, allocations: 250.8 kB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.381, allocations: 4.375 kB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.381, allocations: 4.312 kB / 0.5631 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3812, allocations: 65.8 kB / 0.5632 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3812, allocations: 0 / 0.5632 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3812, allocations: 3.938 kB / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3813, allocations: 0 / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3814, allocations: 43.95 kB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.3819, allocations: 348.4 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.382, allocations: 46.5 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.3821, allocations: 24.94 kB / 0.5636 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3821, allocations: 7.969 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3822, allocations: 38.56 kB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3822, allocations: 0 / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008658/0.383, allocations: 316.5 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3831, allocations: 55.41 kB / 0.564 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.3839, allocations: 0.8613 MB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.384, allocations: 33.7 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.3841, allocations: 216.1 kB / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3842, allocations: 15.8 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3842, allocations: 21.72 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3844, allocations: 370.7 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3845, allocations: 44.03 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3846, allocations: 39.95 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3849, allocations: 88.73 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3849, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004025/0.3853, allocations: 161.3 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3853, allocations: 6.5 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3853, allocations: 4 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3853, allocations: 0 / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3854, allocations: 19.98 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3854, allocations: 7.938 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.3855, allocations: 7.984 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3855, allocations: 8 kB / 0.5659 GB, free: 15.46 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.0002951/0.3858, allocations: 221.6 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.3859, allocations: 43.72 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3863, allocations: 177.8 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3863, allocations: 4 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3863, allocations: 0 / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3863, allocations: 0 / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.387, allocations: 465.9 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.387, allocations: 0 / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.3871, allocations: 19.98 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3871, allocations: 3.984 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3871, allocations: 4 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3871, allocations: 4 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3871, allocations: 3.938 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.3875, allocations: 267.1 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.3876, allocations: 31.72 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3876, allocations: 0 / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3877, allocations: 11.98 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3877, allocations: 7.922 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.3877, allocations: 8 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006946/0.3884, allocations: 0.6472 MB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3884, allocations: 0 / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3887, allocations: 32 kB / 0.5677 GB, free: 13.46 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.001611/0.3903, allocations: 436.5 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.3907, allocations: 91.86 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3907, allocations: 0 / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3908, allocations: 47.97 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3912, allocations: 30.92 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3926, allocations: 0.8746 MB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3928, allocations: 220.1 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.3929, allocations: 15.44 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3929, allocations: 0 / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.008093/0.401, allocations: 4.088 MB / 0.5734 GB, free: 7.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 7.924789566081017]