Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001461/0.001461, 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.00167/0.00167, allocations: 211.5 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.231/0.231, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") [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.002093/0.002093, allocations: 71.89 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003537/0.3783, allocations: 1.679 MB / 0.5598 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3795, allocations: 0.5661 MB / 0.5604 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.3796, allocations: 3.938 kB / 0.5604 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.3803, allocations: 455.1 kB / 0.5608 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.3808, allocations: 295.3 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.3813, allocations: 179.3 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3816, allocations: 179.6 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3817, allocations: 20.22 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3819, allocations: 115.7 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3822, allocations: 251.5 kB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3822, allocations: 8 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3823, allocations: 51.97 kB / 0.5619 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3824, allocations: 87.69 kB / 0.562 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.3825, allocations: 75.17 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.3829, allocations: 296.9 kB / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3829, allocations: 0 / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3829, allocations: 0 / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3829, allocations: 0 / 0.5623 GB, free: 3.242 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.0008191/0.3838, allocations: 0.599 MB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3838, allocations: 8.031 kB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.3839, allocations: 48.66 kB / 0.563 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3842, allocations: 242.8 kB / 0.5632 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3842, allocations: 4.375 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3842, allocations: 8.312 kB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3844, allocations: 69.78 kB / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3845, allocations: 0 / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3845, allocations: 4 kB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3845, allocations: 0 / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3846, allocations: 39.97 kB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.3852, allocations: 372.2 kB / 0.5637 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.3855, allocations: 54.55 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.3855, allocations: 24.97 kB / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3856, allocations: 0 / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3856, allocations: 38.59 kB / 0.5638 GB, free: 1.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3856, allocations: 0 / 0.5638 GB, free: 1.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001577/0.3872, allocations: 0.4963 MB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3872, allocations: 59.28 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.3881, allocations: 0.8691 MB / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3881, allocations: 29.7 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3883, allocations: 208.2 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3884, allocations: 39.69 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.3884, allocations: 29.7 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3886, allocations: 358.8 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3888, allocations: 55.95 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3889, allocations: 59.95 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3892, allocations: 121.3 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3892, allocations: 4 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003892/0.3896, allocations: 205.2 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3896, allocations: 6.5 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3896, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3896, allocations: 3.984 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3897, allocations: 31.98 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3897, allocations: 3.938 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3898, allocations: 11.98 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3898, allocations: 4 kB / 0.5663 GB, free: 15 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 (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.0002189/0.3901, allocations: 225.7 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.3901, allocations: 47.72 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.3906, allocations: 233.3 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3906, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3906, allocations: 3.938 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3906, allocations: 0 / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.3915, allocations: 0.5347 MB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3915, allocations: 0 / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3916, allocations: 27.92 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3916, allocations: 7.938 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3916, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3916, allocations: 0 / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3917, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.3921, allocations: 301.5 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3921, allocations: 47.58 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3922, allocations: 4.094 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3923, allocations: 11.94 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.3923, allocations: 15.91 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3924, allocations: 4 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.393, allocations: 0.655 MB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.393, allocations: 4 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3933, allocations: 28 kB / 0.5684 GB, free: 12.77 MB / 414.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.001873/0.3952, allocations: 489.3 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.3956, allocations: 131.8 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3956, allocations: 0 / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.3958, allocations: 63.89 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.3964, allocations: 32.91 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3979, allocations: 0.9232 MB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3982, allocations: 232.8 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.3983, allocations: 19.42 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3983, allocations: 0 / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.00872/0.407, allocations: 4.394 MB / 0.5745 GB, free: 6.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.849835863802582]