Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.0007915/0.0007915, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001846, 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.0007002/0.0007002, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008602/0.00156, 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09918/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 34.24 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02293/0.2781, allocations: 13.11 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 292.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.506e-05, allocations: 5.828 kB / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003266/0.003301, allocations: 1.749 MB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004428, allocations: 0.5918 MB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.004487, allocations: 3.938 kB / 295 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.004688, allocations: 59.73 kB / 295.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.004945, allocations: 91.53 kB / 295.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.0054, allocations: 176.5 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.005586, allocations: 95.75 kB / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.005674, allocations: 16.16 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.005796, allocations: 67.77 kB / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.005885, allocations: 39.89 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.005901, allocations: 4 kB / 295.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.006008, allocations: 47.92 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.006064, allocations: 23.92 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.006095, allocations: 11.94 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.006273, allocations: 87.73 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.006286, allocations: 0 / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006287, allocations: 0 / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.006299, allocations: 0 / 295.7 MB, free: 3.188 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004273/0.006726, allocations: 333 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.006756, allocations: 8.031 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.006793, allocations: 12.92 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.006945, allocations: 137.5 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.006957, allocations: 8.375 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.006976, allocations: 8.375 kB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.007197, allocations: 66.88 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.007206, allocations: 192 / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.007215, allocations: 8.109 kB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.00722, allocations: 3.984 kB / 296.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.007257, allocations: 8 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007544, allocations: 191 kB / 296.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.007687, allocations: 34.56 kB / 296.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.007709, allocations: 12.86 kB / 296.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.007729, allocations: 4 kB / 296.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.007751, allocations: 38.5 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.007752, allocations: 0 / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006713/0.008424, allocations: 219.3 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.008453, allocations: 55.41 kB / 296.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.008572, allocations: 160.3 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.008586, allocations: 33.7 kB / 297 MB, free: 1.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.008624, allocations: 96.05 kB / 297.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.008659, allocations: 39.67 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.008704, allocations: 21.72 kB / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.008795, allocations: 330.7 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.008823, allocations: 8 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.008849, allocations: 11.98 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.008916, allocations: 39.66 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.008917, allocations: 0 / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000113/0.00903, allocations: 74.64 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.009043, allocations: 8 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.009047, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.009054, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.009165, allocations: 27.98 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.009167, allocations: 4 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.009206, allocations: 7.953 kB / 297.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.009215, allocations: 3.984 kB / 297.7 MB, free: 1.059 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 (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 7.671e-05/0.009292, allocations: 124.5 kB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.009325, allocations: 4 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.009486, allocations: 92.73 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009489, allocations: 4 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.00949, allocations: 0 / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009493, allocations: 0 / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.009858, allocations: 284.3 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009861, allocations: 0 / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.009953, allocations: 27.97 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.009969, allocations: 11.91 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.009972, allocations: 3.938 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.009983, allocations: 8.062 kB / 298.2 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009985, allocations: 4 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.009988, allocations: 3.938 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.01014, allocations: 173.2 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.01022, allocations: 8 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.0103, allocations: 4 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.01033, allocations: 11.92 kB / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01034, allocations: 4 kB / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.0104, allocations: 43.64 kB / 298.5 MB, free: 196 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0104, allocations: 0 / 298.5 MB, free: 196 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.01063, allocations: 23.94 kB / 298.5 MB, free: 172 kB / 282.7 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.002047/0.01268, allocations: 0.6274 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.0128, allocations: 64.58 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.01281, allocations: 0 / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.01286, allocations: 36.78 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01311, allocations: 30.62 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.0137, allocations: 264.1 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.01375, allocations: 71.33 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.01382, allocations: 20.61 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.0139, allocations: 63.36 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0139, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of Templates: time 0.00378/0.01768, allocations: 1.763 MB / 301.4 MB, free: 13.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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: 2.8654797803610563]