Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001344/0.001344, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.001453/0.001453, allocations: 163.4 kB / 23.95 MB, free: 4.168 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.4/1.4, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2051/0.2051, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.939e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003068/0.003098, allocations: 1.7 MB / 441.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004223, allocations: 0.5764 MB / 442.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.004284, allocations: 0 / 442.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.004495, allocations: 19.84 kB / 442.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.004807, allocations: 87.44 kB / 442.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.005246, allocations: 189.6 kB / 442.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.005435, allocations: 103.6 kB / 442.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005545, allocations: 11.98 kB / 442.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005646, allocations: 47.89 kB / 442.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.005729, allocations: 39.89 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.005766, allocations: 8 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.005942, allocations: 91.88 kB / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.00601, allocations: 23.92 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.006059, allocations: 31.84 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.006369, allocations: 175.4 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006372, allocations: 0 / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006372, allocations: 0 / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.006381, allocations: 0 / 443.2 MB, free: 5.051 MB / 366.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.0006678/0.007049, allocations: 369.5 kB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.007083, allocations: 12.03 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.00713, allocations: 12.89 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.007335, allocations: 142.1 kB / 443.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.007343, allocations: 4.375 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.007367, allocations: 8.312 kB / 443.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.007689, allocations: 125.4 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.007702, allocations: 0 / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007713, allocations: 0 / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.007719, allocations: 8 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.008038, allocations: 71.91 kB / 443.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.008611, allocations: 276.4 kB / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.008869, allocations: 82.45 kB / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.009044, allocations: 44.94 kB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.009064, allocations: 4 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.009096, allocations: 34.56 kB / 444.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.009097, allocations: 0 / 444.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001717/0.01081, allocations: 412.9 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.01088, allocations: 77.11 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01106, allocations: 158.5 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.01108, allocations: 25.7 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.01116, allocations: 104.1 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.01119, allocations: 27.75 kB / 445.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.01125, allocations: 25.7 kB / 445.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.01141, allocations: 326.8 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.01171, allocations: 75.92 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.01205, allocations: 127.3 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.01266, allocations: 172.9 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.01266, allocations: 0 / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006836/0.01334, allocations: 217.4 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01336, allocations: 6.812 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01336, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01338, allocations: 3.984 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.0136, allocations: 39.95 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.0136, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.01376, allocations: 27.97 kB / 446.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01377, allocations: 0 / 446.2 MB, free: 1.887 MB / 366.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 (10): * Single equations (assignments): 10 * 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.01389, allocations: 129.8 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.01393, allocations: 11.91 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.01468, allocations: 226.2 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01469, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01469, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01469, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.0157, allocations: 466.2 kB / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.0157, allocations: 0 / 447 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.0159, allocations: 39.95 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.0159, allocations: 0 / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01591, allocations: 4 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01591, allocations: 0 / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01591, allocations: 3.938 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.01671, allocations: 311.5 kB / 447.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01673, allocations: 7.953 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.01676, allocations: 7.984 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.01695, allocations: 27.97 kB / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.01702, allocations: 11.92 kB / 447.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01703, allocations: 4 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.01716, allocations: 126.2 kB / 447.5 MB, free: 476 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01716, allocations: 3.938 kB / 447.5 MB, free: 472 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.01748, allocations: 51.86 kB / 447.6 MB, free: 420 kB / 366.1 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 (9): * Single equations (assignments): 9 * 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.001913/0.01939, allocations: 0.5286 MB / 448.1 MB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.187/0.2064, allocations: 164.7 kB / 448.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.2064, allocations: 4.297 kB / 448.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.2067, allocations: 88.27 kB / 448.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2071, allocations: 20.97 kB / 448.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.2076, allocations: 239.9 kB / 448.6 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.958e-05/0.2077, allocations: 94.16 kB / 448.7 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.2078, allocations: 25.2 kB / 448.7 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.2079, allocations: 27.27 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2079, allocations: 0 / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of Templates: time 0.006857/0.2148, allocations: 2.696 MB / 451.4 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 4.885013107210398]