Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001472/0.001472, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001803/0.001803, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.248/0.248, allocations: 44.93 MB / 358.8 MB, free: 6.082 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.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.0.0_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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [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.002013/0.002013, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3784, allocations: 65.47 MB / 0.5575 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003529/0.3819, allocations: 1.609 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3831, allocations: 0.5349 MB / 0.5596 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.3832, allocations: 0 / 0.5596 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3835, allocations: 79.7 kB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3838, allocations: 107.6 kB / 0.5597 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.3841, allocations: 115.5 kB / 0.5599 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3843, allocations: 91.73 kB / 0.5599 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3845, allocations: 10.67 kB / 0.56 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.3845, allocations: 43.83 kB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3846, allocations: 55.77 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3847, allocations: 7.938 kB / 0.5601 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3848, allocations: 47.97 kB / 0.5601 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.3848, allocations: 19.92 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.3849, allocations: 27.8 kB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3851, allocations: 103.3 kB / 0.5602 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3851, allocations: 4 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3851, allocations: 0 / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3851, allocations: 0 / 0.5602 GB, free: 4.66 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.000587/0.3857, allocations: 345.5 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3857, allocations: 12.03 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3858, allocations: 12.84 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.386, allocations: 143 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.386, allocations: 4.375 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.386, allocations: 4.359 kB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3862, allocations: 57.81 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3862, allocations: 4 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.3862, allocations: 0 / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3862, allocations: 0 / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3863, allocations: 31.91 kB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3867, allocations: 248.4 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3868, allocations: 50.55 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.3869, allocations: 12.86 kB / 0.5611 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3869, allocations: 4 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3869, allocations: 42.58 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3869, allocations: 0 / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009449/0.3879, allocations: 233.2 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3879, allocations: 55.41 kB / 0.5615 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3882, allocations: 206.3 kB / 0.5616 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3882, allocations: 29.7 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.3883, allocations: 116 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3883, allocations: 31.73 kB / 0.5618 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3884, allocations: 21.66 kB / 0.5618 GB, free: 2.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3885, allocations: 326.8 kB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.3886, allocations: 31.97 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.3887, allocations: 23.98 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3889, allocations: 85.09 kB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3889, allocations: 4 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002248/0.3891, allocations: 113.5 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3891, allocations: 4 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3891, allocations: 0 / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3891, allocations: 0 / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3892, allocations: 19.98 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3892, allocations: 3.938 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.3893, allocations: 4 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3893, allocations: 3.938 kB / 0.5624 GB, free: 2.246 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.0001094/0.3894, allocations: 133.8 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.3894, allocations: 20.27 kB / 0.5626 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.3898, allocations: 127 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3898, allocations: 4 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3898, allocations: 0 / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3898, allocations: 3.984 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.3903, allocations: 366.9 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3903, allocations: 4 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.3904, allocations: 15.98 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3904, allocations: 0 / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3904, allocations: 4 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3904, allocations: 7.875 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3904, allocations: 0 / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3907, allocations: 212.3 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.3907, allocations: 7.906 kB / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3908, allocations: 12.03 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.3908, allocations: 7.938 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3909, allocations: 3.984 kB / 0.5633 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3909, allocations: 4 kB / 0.5633 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.391, allocations: 172.2 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3913, allocations: 27.92 kB / 0.5635 GB, free: 1.051 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.001854/0.3931, allocations: 0.4884 MB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3934, allocations: 71.94 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3934, allocations: 0 / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3935, allocations: 43.84 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3938, allocations: 23.06 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.3944, allocations: 270.7 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.623e-05/0.3945, allocations: 92.61 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.3945, allocations: 20.64 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.3946, allocations: 19.44 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3946, allocations: 0 / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of Templates: time 0.004526/0.3991, allocations: 1.462 MB / 0.5659 GB, free: 14.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.2790499199181795]