Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.00134/0.00134, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001493/0.001493, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2333/0.2333, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.Test24,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.00205/0.00205, allocations: 67.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003343/0.3811, allocations: 1.71 MB / 0.5599 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3823, allocations: 0.5971 MB / 0.5605 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.3824, allocations: 4 kB / 0.5605 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3826, allocations: 43.75 kB / 0.5606 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.383, allocations: 95.59 kB / 0.5607 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.3834, allocations: 183.2 kB / 0.5608 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3836, allocations: 87.75 kB / 0.5609 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3837, allocations: 24.22 kB / 0.5609 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.3838, allocations: 27.86 kB / 0.561 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3839, allocations: 55.75 kB / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3839, allocations: 11.94 kB / 0.561 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.384, allocations: 43.98 kB / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.3841, allocations: 31.84 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.3842, allocations: 27.81 kB / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3844, allocations: 117.9 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3844, allocations: 0 / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3844, allocations: 0 / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3844, allocations: 0 / 0.5612 GB, free: 4.66 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.0005604/0.385, allocations: 341.6 kB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.385, allocations: 12.03 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.385, allocations: 8.891 kB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3852, allocations: 146.3 kB / 0.5617 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3853, allocations: 4.375 kB / 0.5617 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3853, allocations: 4.375 kB / 0.5617 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3855, allocations: 69.78 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3855, allocations: 0 / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3855, allocations: 4 kB / 0.5618 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3855, allocations: 4 kB / 0.5618 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3857, allocations: 47.89 kB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.3862, allocations: 283.8 kB / 0.5621 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3864, allocations: 62.58 kB / 0.5622 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.3865, allocations: 28.97 kB / 0.5622 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3865, allocations: 3.984 kB / 0.5622 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3865, allocations: 30.56 kB / 0.5622 GB, free: 3.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3865, allocations: 0 / 0.5622 GB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.388, allocations: 421.3 kB / 0.5626 GB, free: 3.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3881, allocations: 63.34 kB / 0.5627 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3883, allocations: 177.9 kB / 0.5629 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3883, allocations: 29.7 kB / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.3884, allocations: 108 kB / 0.563 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3884, allocations: 39.69 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3884, allocations: 29.64 kB / 0.5631 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3886, allocations: 326.8 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3888, allocations: 55.95 kB / 0.5634 GB, free: 2.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3889, allocations: 47.97 kB / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3892, allocations: 132.7 kB / 0.5636 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3892, allocations: 0 / 0.5636 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003494/0.3896, allocations: 165.6 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.3896, allocations: 4 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3896, allocations: 0 / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3896, allocations: 0 / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3897, allocations: 35.84 kB / 0.5638 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3897, allocations: 0 / 0.5638 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.3898, allocations: 15.98 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3898, allocations: 4 kB / 0.5638 GB, free: 1.824 MB / 398.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.0001143/0.3899, allocations: 125.8 kB / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.39, allocations: 11.91 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.3904, allocations: 190.2 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3904, allocations: 7.938 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3904, allocations: 0 / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3904, allocations: 0 / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.3912, allocations: 479 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3912, allocations: 0 / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3913, allocations: 28.16 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3913, allocations: 4 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3913, allocations: 8.062 kB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3913, allocations: 0 / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3913, allocations: 4 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.3918, allocations: 277.5 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.3918, allocations: 15.91 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3918, allocations: 3.984 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.3919, allocations: 11.98 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.3919, allocations: 7.984 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.392, allocations: 4 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3921, allocations: 139.2 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3921, allocations: 0 / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3924, allocations: 27.94 kB / 0.5651 GB, free: 420 kB / 398.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.001741/0.3941, allocations: 466 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3945, allocations: 127.8 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3945, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.3947, allocations: 67.89 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3951, allocations: 26.92 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.3957, allocations: 329.8 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3961, allocations: 0.708 MB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.3962, allocations: 19.42 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3962, allocations: 4 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004334/0.4005, allocations: 2.037 MB / 0.5688 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.937508294824511]