Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2404/0.2404, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 65.99 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003291/0.386, allocations: 1.643 MB / 0.5628 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3872, allocations: 0.5615 MB / 0.5634 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.3873, allocations: 0 / 0.5634 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3876, allocations: 79.77 kB / 0.5635 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3879, allocations: 99.59 kB / 0.5636 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3882, allocations: 115.7 kB / 0.5637 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3884, allocations: 83.81 kB / 0.5637 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3885, allocations: 14.8 kB / 0.5638 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.3885, allocations: 35.89 kB / 0.5638 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3887, allocations: 59.75 kB / 0.5639 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3887, allocations: 4 kB / 0.5639 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3888, allocations: 51.92 kB / 0.5639 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.3889, allocations: 23.92 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.3889, allocations: 35.72 kB / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3891, allocations: 99.59 kB / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3891, allocations: 0 / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3891, allocations: 0 / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3891, allocations: 0 / 0.5641 GB, free: 2.105 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.0006251/0.3898, allocations: 426.6 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3898, allocations: 8.031 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3899, allocations: 20.84 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3901, allocations: 200.9 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3901, allocations: 4.375 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3901, allocations: 4.375 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3903, allocations: 54.22 kB / 0.5647 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3903, allocations: 4.188 kB / 0.5647 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3903, allocations: 3.938 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3903, allocations: 0 / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3904, allocations: 27.92 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.3909, allocations: 308.7 kB / 0.5651 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.391, allocations: 42.56 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.3911, allocations: 20.94 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3911, allocations: 0 / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3912, allocations: 42.5 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3912, allocations: 0 / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009681/0.3921, allocations: 233.7 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.3922, allocations: 51.41 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3924, allocations: 214.3 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3924, allocations: 33.64 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.3925, allocations: 116 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3926, allocations: 27.88 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.3926, allocations: 21.7 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.3929, allocations: 326.8 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.393, allocations: 27.98 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.3931, allocations: 39.97 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3932, allocations: 68.83 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3932, allocations: 0 / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002351/0.3935, allocations: 117.5 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3935, allocations: 4 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3935, allocations: 3.938 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3935, allocations: 4 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3936, allocations: 23.98 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3936, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3937, allocations: 4 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3937, allocations: 4 kB / 0.5664 GB, free: 15.44 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 (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.0001148/0.3938, allocations: 133.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.3938, allocations: 15.91 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.3942, allocations: 139.2 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3942, allocations: 8 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3942, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3942, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.3948, allocations: 419.2 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3948, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.3949, allocations: 15.98 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3949, allocations: 4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3949, allocations: 11.97 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3949, allocations: 0 / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3949, allocations: 7.938 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3952, allocations: 212.3 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3953, allocations: 85.02 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3953, allocations: 7.938 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3954, allocations: 8 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3954, allocations: 3.984 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3954, allocations: 4 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3956, allocations: 168.2 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3956, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3958, allocations: 20 kB / 0.5676 GB, free: 14.09 MB / 414.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.001743/0.3976, allocations: 463.9 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3978, allocations: 71.95 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3978, allocations: 0 / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3979, allocations: 43.98 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3983, allocations: 15.98 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.399, allocations: 270.6 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.3996, allocations: 0.708 MB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.3996, allocations: 24.95 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3997, allocations: 23.36 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3997, allocations: 4 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.00505/0.4047, allocations: 1.421 MB / 0.5706 GB, free: 11.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 5.284217933192849]