Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00164/0.00164, allocations: 112.5 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.002303/0.002303, 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.2154/0.2154, allocations: 44.92 MB / 359.6 MB, free: 6.348 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [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.002184/0.002184, allocations: 67.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3791, allocations: 65.46 MB / 0.5583 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00367/0.3827, allocations: 1.632 MB / 0.5599 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3839, allocations: 0.566 MB / 0.5604 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.384, allocations: 3.938 kB / 0.5604 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3843, allocations: 75.77 kB / 0.5605 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3846, allocations: 107.6 kB / 0.5606 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.3849, allocations: 115.7 kB / 0.5607 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3851, allocations: 87.73 kB / 0.5608 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3852, allocations: 11.66 kB / 0.5608 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.3853, allocations: 43.84 kB / 0.5608 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3854, allocations: 67.73 kB / 0.5609 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3855, allocations: 4 kB / 0.5609 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3856, allocations: 40 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.3856, allocations: 23.91 kB / 0.561 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.3857, allocations: 35.73 kB / 0.561 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3859, allocations: 98.31 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3859, allocations: 4 kB / 0.5611 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3859, allocations: 3.938 kB / 0.5611 GB, free: 4.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3859, allocations: 3.938 kB / 0.5611 GB, free: 4.852 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.0005575/0.3865, allocations: 345.6 kB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3865, allocations: 8.031 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3866, allocations: 16.84 kB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3868, allocations: 147 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3868, allocations: 384 / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3868, allocations: 4.375 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.387, allocations: 53.81 kB / 0.5617 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.387, allocations: 0 / 0.5617 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.387, allocations: 4 kB / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.387, allocations: 7.938 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.3872, allocations: 27.97 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.3877, allocations: 275.8 kB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3878, allocations: 54.48 kB / 0.562 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.3878, allocations: 20.94 kB / 0.562 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3879, allocations: 4 kB / 0.562 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3879, allocations: 30.56 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3879, allocations: 0 / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009476/0.3888, allocations: 241.3 kB / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3889, allocations: 51.41 kB / 0.5623 GB, free: 3.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3891, allocations: 214.2 kB / 0.5625 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3892, allocations: 29.7 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3892, allocations: 108 kB / 0.5627 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3893, allocations: 31.73 kB / 0.5627 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.3893, allocations: 17.72 kB / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3896, allocations: 330.8 kB / 0.563 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3896, allocations: 27.97 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.3897, allocations: 31.98 kB / 0.5631 GB, free: 2.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.3899, allocations: 76.75 kB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3899, allocations: 0 / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002398/0.3902, allocations: 117.5 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3902, allocations: 8 kB / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3902, allocations: 0 / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3902, allocations: 0 / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3903, allocations: 19.98 kB / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3903, allocations: 0 / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3904, allocations: 11.92 kB / 0.5633 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3904, allocations: 0 / 0.5633 GB, free: 2.395 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.0001544/0.3905, allocations: 133.8 kB / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3906, allocations: 15.91 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.3909, allocations: 127.3 kB / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3909, allocations: 4 kB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3909, allocations: 3.938 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3909, allocations: 3.938 kB / 0.5636 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.3915, allocations: 394.3 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3915, allocations: 4.031 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.3916, allocations: 23.92 kB / 0.564 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3916, allocations: 3.938 kB / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3916, allocations: 0 / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3916, allocations: 0 / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3916, allocations: 4 kB / 0.564 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.3919, allocations: 216.3 kB / 0.5642 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.392, allocations: 15.84 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.392, allocations: 0 / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.3921, allocations: 11.98 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3921, allocations: 7.938 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3921, allocations: 0 / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3923, allocations: 176.2 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3925, allocations: 16 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001838/0.3944, allocations: 461.3 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3946, allocations: 71.95 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3946, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3947, allocations: 43.91 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3951, allocations: 24.7 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.3957, allocations: 300.4 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.3961, allocations: 0.7158 MB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.3961, allocations: 19.44 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3961, allocations: 3.938 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004087/0.4002, allocations: 1.818 MB / 0.5678 GB, free: 13.85 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.057886546012014]