Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00133/0.00133, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004719/0.006049, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001225/0.001225, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004973/0.006197, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3195/0.3195, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03899/0.3585, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.96e-05, allocations: 4.094 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003149/0.003179, allocations: 1.679 MB / 292.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.004198, allocations: 0.5548 MB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.00428, allocations: 1.438 kB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.004475, allocations: 28.25 kB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.004763, allocations: 73.41 kB / 293 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.005123, allocations: 112.8 kB / 293.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.005286, allocations: 61.78 kB / 293.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.005382, allocations: 18.16 kB / 293.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.005489, allocations: 56.16 kB / 293.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.005552, allocations: 14.98 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.005567, allocations: 1.219 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.005661, allocations: 31.92 kB / 293.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.005702, allocations: 10.66 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.005731, allocations: 10.94 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.005898, allocations: 72.94 kB / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.827e-05/0.005916, allocations: 0 / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005917, allocations: 0 / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.005935, allocations: 0 / 293.3 MB, free: 5.562 MB / 282.7 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.0004427/0.006378, allocations: 300.8 kB / 293.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.006415, allocations: 8.031 kB / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.006453, allocations: 8.938 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.006613, allocations: 129.6 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.006621, allocations: 384 / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.006641, allocations: 8.312 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.00675, allocations: 50.95 kB / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.00676, allocations: 192 / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.006769, allocations: 8.125 kB / 293.8 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.006777, allocations: 3.984 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.006804, allocations: 4 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.007058, allocations: 171.2 kB / 294 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.007224, allocations: 29.34 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.007244, allocations: 8.859 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.007263, allocations: 4.078 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.007287, allocations: 34.56 kB / 294.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.007288, allocations: 0 / 294.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003104/0.007599, allocations: 81.48 kB / 294.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.007632, allocations: 55.41 kB / 294.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007737, allocations: 148.3 kB / 294.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.00775, allocations: 29.7 kB / 294.4 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.007788, allocations: 92.11 kB / 294.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007812, allocations: 19.8 kB / 294.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.007847, allocations: 13.72 kB / 294.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.007939, allocations: 326.8 kB / 294.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.007954, allocations: 4 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.007969, allocations: 8.062 kB / 294.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.008015, allocations: 27.61 kB / 294.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.008016, allocations: 0 / 294.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.56e-05/0.008092, allocations: 49.62 kB / 294.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.008111, allocations: 7.938 kB / 294.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008116, allocations: 4 kB / 294.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.008127, allocations: 0 / 294.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.008192, allocations: 15.98 kB / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.008196, allocations: 0 / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.008219, allocations: 0 / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.008226, allocations: 4 kB / 295 MB, free: 3.777 MB / 282.7 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 7.113e-05/0.008297, allocations: 120.6 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.008323, allocations: 12.16 kB / 295.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.008451, allocations: 54.14 kB / 295.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.008455, allocations: 7.984 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.008458, allocations: 4 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008462, allocations: 0 / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.008721, allocations: 210.8 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.008725, allocations: 3.938 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.008769, allocations: 8.312 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.008782, allocations: 11.94 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.008785, allocations: 0 / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.008792, allocations: 4 kB / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008793, allocations: 0 / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.008795, allocations: 4 kB / 295.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.008911, allocations: 151.5 kB / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008923, allocations: 0 / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.008972, allocations: 3.984 kB / 295.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.00901, allocations: 7.938 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.009014, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.009053, allocations: 34.25 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009053, allocations: 0 / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.009246, allocations: 19.92 kB / 295.6 MB, free: 3.074 MB / 282.7 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.001598/0.01084, allocations: 0.5497 MB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.01094, allocations: 20.8 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.01094, allocations: 0 / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.01097, allocations: 20.78 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01121, allocations: 35.03 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.01174, allocations: 175.2 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01178, allocations: 59.34 kB / 296.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.01183, allocations: 15.98 kB / 296.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.01189, allocations: 55.38 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01189, allocations: 0 / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of Templates: time 0.00387/0.01576, allocations: 1.268 MB / 297.8 MB, free: 1.148 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0677016898989677]