Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001611/0.001611, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002208/0.002208, allocations: 213.2 kB / 24.48 MB, free: 3.836 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.3043/0.3043, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [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.002206/0.002206, allocations: 67.91 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3193, allocations: 65.47 MB / 0.5582 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00304/0.3223, allocations: 1.598 MB / 0.5598 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3234, allocations: 0.5193 MB / 0.5603 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.3235, allocations: 0 / 0.5603 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.3236, allocations: 23.84 kB / 0.5603 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3239, allocations: 83.62 kB / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.3242, allocations: 111.7 kB / 0.5605 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3244, allocations: 67.77 kB / 0.5605 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.3245, allocations: 11.98 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.3245, allocations: 27.81 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.3246, allocations: 19.84 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3246, allocations: 4 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.3247, allocations: 35.98 kB / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3247, allocations: 19.92 kB / 0.5607 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.3248, allocations: 15.88 kB / 0.5607 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3249, allocations: 86.05 kB / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.325, allocations: 3.938 kB / 0.5608 GB, free: 4.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.325, allocations: 0 / 0.5608 GB, free: 4.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.325, allocations: 4 kB / 0.5608 GB, free: 4.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004707/0.3254, allocations: 312.2 kB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3255, allocations: 12.03 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3255, allocations: 8.891 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3257, allocations: 134.4 kB / 0.5612 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3257, allocations: 384 / 0.5612 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3257, allocations: 8.375 kB / 0.5612 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3258, allocations: 57.81 kB / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3259, allocations: 0 / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3259, allocations: 0 / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3259, allocations: 3.984 kB / 0.5613 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.326, allocations: 27.92 kB / 0.5613 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3263, allocations: 228.5 kB / 0.5615 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3265, allocations: 50.53 kB / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.3266, allocations: 20.86 kB / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3266, allocations: 0 / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3267, allocations: 38.58 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3267, allocations: 0 / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005659/0.3272, allocations: 153.4 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3273, allocations: 55.34 kB / 0.5618 GB, free: 3.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3274, allocations: 160.8 kB / 0.562 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3275, allocations: 25.7 kB / 0.562 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.3275, allocations: 100.1 kB / 0.5621 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3276, allocations: 23.78 kB / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3276, allocations: 17.72 kB / 0.5621 GB, free: 3.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3278, allocations: 326.8 kB / 0.5624 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3278, allocations: 19.98 kB / 0.5625 GB, free: 2.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.3279, allocations: 19.98 kB / 0.5625 GB, free: 2.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.328, allocations: 52.83 kB / 0.5625 GB, free: 2.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.328, allocations: 0 / 0.5625 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.3282, allocations: 85.61 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3283, allocations: 7.938 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3283, allocations: 7.938 kB / 0.5626 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3283, allocations: 0 / 0.5626 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.3283, allocations: 15.98 kB / 0.5626 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3283, allocations: 0 / 0.5626 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.3284, allocations: 4 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3284, allocations: 7.938 kB / 0.5627 GB, free: 2.633 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 (5): * Single equations (assignments): 5 * 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.0001071/0.3285, allocations: 125.8 kB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3285, allocations: 7.953 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.3288, allocations: 102.3 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3288, allocations: 0 / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3288, allocations: 3.938 kB / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3288, allocations: 0 / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.3292, allocations: 302.2 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3292, allocations: 0 / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.3293, allocations: 15.98 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3293, allocations: 0 / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3293, allocations: 4 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3293, allocations: 0 / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3293, allocations: 3.938 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3296, allocations: 183.4 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.3296, allocations: 3.953 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3296, allocations: 11.98 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.3297, allocations: 0 / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3297, allocations: 15.92 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3297, allocations: 0 / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.3298, allocations: 128.9 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3298, allocations: 0 / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.3301, allocations: 19.89 kB / 0.5635 GB, free: 1.645 MB / 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 (5): * Single equations (assignments): 5 * 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.001612/0.3317, allocations: 438.9 kB / 0.564 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3319, allocations: 47.91 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3319, allocations: 4 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.332, allocations: 27.97 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3323, allocations: 13.62 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.3328, allocations: 227.8 kB / 0.5643 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.3329, allocations: 87.06 kB / 0.5644 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3329, allocations: 11.44 kB / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3329, allocations: 8 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Templates: time 0.003435/0.3363, allocations: 1.505 MB / 0.5658 GB, free: 15.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.871873004827648]