Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001899/0.001899, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002407/0.002407, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2167/0.2167, allocations: 44.92 MB / 359.6 MB, free: 6.195 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [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.002135/0.002135, allocations: 75.88 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3036, allocations: 65.48 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00334/0.307, allocations: 1.593 MB / 0.5598 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3091, allocations: 1.252 MB / 0.561 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.3091, allocations: 0 / 0.561 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3094, allocations: 27.83 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.3097, allocations: 79.64 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3101, allocations: 115.7 kB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3102, allocations: 83.75 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3103, allocations: 19.64 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.3104, allocations: 31.86 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3105, allocations: 35.78 kB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3105, allocations: 8 kB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.3107, allocations: 95.88 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.3108, allocations: 19.92 kB / 0.5615 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3108, allocations: 27.84 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3111, allocations: 150.3 kB / 0.5617 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3111, allocations: 4 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3111, allocations: 0 / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3111, allocations: 0 / 0.5617 GB, free: 3.941 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.0005411/0.3117, allocations: 337.5 kB / 0.562 GB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3117, allocations: 16.03 kB / 0.562 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3117, allocations: 8.891 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3119, allocations: 138.4 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.312, allocations: 4.375 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.312, allocations: 8.375 kB / 0.5622 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3122, allocations: 105.2 kB / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3122, allocations: 3.953 kB / 0.5623 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3122, allocations: 7.984 kB / 0.5623 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3122, allocations: 0 / 0.5623 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3123, allocations: 31.97 kB / 0.5623 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.3128, allocations: 260.4 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3129, allocations: 54.55 kB / 0.5626 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.313, allocations: 16.98 kB / 0.5626 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.313, allocations: 4.078 kB / 0.5626 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3131, allocations: 38.5 kB / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3131, allocations: 0 / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007162/0.3138, allocations: 201.3 kB / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3138, allocations: 81.09 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.314, allocations: 153.6 kB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3141, allocations: 29.7 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3141, allocations: 96.12 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.3142, allocations: 23.75 kB / 0.5632 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.3142, allocations: 25.7 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3144, allocations: 322.8 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.3145, allocations: 31.97 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3146, allocations: 79.33 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3147, allocations: 64.83 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3147, allocations: 0 / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.315, allocations: 113.7 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.315, allocations: 14.17 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.315, allocations: 0 / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.315, allocations: 0 / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3151, allocations: 20.02 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3151, allocations: 4 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.3152, allocations: 11.94 kB / 0.5639 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3152, allocations: 0 / 0.5639 GB, free: 1.48 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 (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 0.0001075/0.3153, allocations: 121.8 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.3154, allocations: 11.91 kB / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.3157, allocations: 126.3 kB / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3157, allocations: 0 / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3157, allocations: 4 kB / 0.5641 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3157, allocations: 7.938 kB / 0.5641 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.3162, allocations: 342.1 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3162, allocations: 0 / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.3163, allocations: 15.98 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3163, allocations: 0 / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3163, allocations: 4.375 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3163, allocations: 3.938 kB / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3163, allocations: 0 / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.3166, allocations: 211.5 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.3166, allocations: 7.953 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3167, allocations: 0 / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.3167, allocations: 15.88 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3168, allocations: 7.984 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3168, allocations: 0 / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3169, allocations: 119.2 kB / 0.5648 GB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3169, allocations: 0 / 0.5648 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.3172, allocations: 47.8 kB / 0.5649 GB, free: 388 kB / 398.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 (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.001875/0.3191, allocations: 0.5235 MB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.3194, allocations: 75.98 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3194, allocations: 0 / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.3195, allocations: 35.88 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3198, allocations: 19.98 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3204, allocations: 223.7 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.3205, allocations: 99.59 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.3206, allocations: 15.44 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3206, allocations: 0 / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Templates: time 0.004613/0.3252, allocations: 2.197 MB / 0.568 GB, free: 13.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 8.151837704703212]