Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.00257, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002288, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9295/0.9295, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1711/1.101, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1214/0.1214, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02087/0.1422, allocations: 12.54 MB / 284.5 MB, free: 9.727 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.669e-05, allocations: 10.31 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001858/0.001875, allocations: 1.655 MB / 287.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.002526, allocations: 418.9 kB / 287.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.002571, allocations: 0 / 287.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.002704, allocations: 35.67 kB / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.002808, allocations: 31.84 kB / 288 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.006079, allocations: 115.6 kB / 288.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.006206, allocations: 59.78 kB / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.006282, allocations: 7.938 kB / 288.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.006365, allocations: 43.91 kB / 288.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.006416, allocations: 15.92 kB / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.006432, allocations: 0 / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.006502, allocations: 39.86 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.006539, allocations: 11.94 kB / 288.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.006562, allocations: 11.94 kB / 288.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.006691, allocations: 59.81 kB / 288.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.006702, allocations: 4 kB / 288.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006702, allocations: 0 / 288.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.006711, allocations: 0 / 288.4 MB, free: 5.887 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.0003526/0.007064, allocations: 284.2 kB / 288.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.007092, allocations: 12.03 kB / 288.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.007121, allocations: 4.938 kB / 288.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.007249, allocations: 133.6 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.007259, allocations: 4.375 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.007278, allocations: 8.266 kB / 288.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.007366, allocations: 54.95 kB / 288.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007374, allocations: 4.188 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.007382, allocations: 8.125 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007387, allocations: 0 / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.00741, allocations: 11.98 kB / 288.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.007606, allocations: 159.1 kB / 289 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.007727, allocations: 33.39 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.007743, allocations: 8.859 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.007756, allocations: 0 / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.007778, allocations: 34.62 kB / 289.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.007779, allocations: 0 / 289.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002612/0.00804, allocations: 93.52 kB / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.008067, allocations: 51.41 kB / 289.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.00816, allocations: 144.3 kB / 289.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.008171, allocations: 25.7 kB / 289.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.008201, allocations: 92.11 kB / 289.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.00822, allocations: 11.91 kB / 289.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.008252, allocations: 25.69 kB / 289.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.008329, allocations: 314.8 kB / 289.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.008339, allocations: 4 kB / 289.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.008353, allocations: 11.92 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.008379, allocations: 19.69 kB / 289.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.00838, allocations: 0 / 289.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.001e-05/0.00844, allocations: 49.62 kB / 289.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.008453, allocations: 7.984 kB / 289.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.008456, allocations: 0 / 289.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.008468, allocations: 4 kB / 289.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.008514, allocations: 12.28 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.008517, allocations: 0 / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.008536, allocations: 4 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008543, allocations: 4.234 kB / 290 MB, free: 4.121 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 5.055e-05/0.008593, allocations: 116.6 kB / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.008616, allocations: 7.938 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.008705, allocations: 74.05 kB / 290.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.008706, allocations: 7.938 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003014/0.01172, allocations: 0 / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01172, allocations: 0 / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.01193, allocations: 214.7 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01193, allocations: 3.938 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.01197, allocations: 8 kB / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.01197, allocations: 4 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01198, allocations: 4 kB / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.01198, allocations: 3.984 kB / 290.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01198, allocations: 0 / 290.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01198, allocations: 4 kB / 290.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.072e-05/0.01207, allocations: 147.4 kB / 290.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.01208, allocations: 0 / 290.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.01212, allocations: 0 / 290.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.01215, allocations: 11.98 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.01215, allocations: 0 / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.01219, allocations: 34.62 kB / 290.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01219, allocations: 0 / 290.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01238, allocations: 23.95 kB / 290.6 MB, free: 3.41 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.001316/0.01369, allocations: 0.5347 MB / 291.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.01377, allocations: 28.84 kB / 291.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01377, allocations: 0 / 291.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.0138, allocations: 28.97 kB / 291.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01402, allocations: 83.25 kB / 291.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.01442, allocations: 185.8 kB / 291.5 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01446, allocations: 63.34 kB / 291.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.01449, allocations: 7.984 kB / 291.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.01455, allocations: 55.38 kB / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01455, allocations: 0 / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Templates: time 0.005982/0.02053, allocations: 1.239 MB / 292.8 MB, free: 1.414 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.742166037671268]