Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001046/0.001046, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001163/0.001163, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9774/0.9774, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.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.2627/0.2627, allocations: 32.81 MB / 294.6 MB, free: 1.129 MB / 266.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.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.356e-05, allocations: 5.5 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002051/0.002074, allocations: 1.622 MB / 324.9 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.002846, allocations: 0.5335 MB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.002898, allocations: 3.938 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.003105, allocations: 31.77 kB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.003353, allocations: 87.55 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.003569, allocations: 87.7 kB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003692, allocations: 67.77 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.446e-05/0.003766, allocations: 8 kB / 325.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.003821, allocations: 31.91 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.003868, allocations: 19.91 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.003879, allocations: 4 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.003942, allocations: 27.94 kB / 325.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.003984, allocations: 23.92 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.004006, allocations: 11.94 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.004135, allocations: 67.73 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.004138, allocations: 0 / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.004141, allocations: 7.938 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004144, allocations: 0 / 325.9 MB, free: 7.047 MB / 298.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.0003116/0.004456, allocations: 293.6 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.004489, allocations: 12.03 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.004516, allocations: 8.922 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.00463, allocations: 134.1 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.004637, allocations: 384 / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.004657, allocations: 12.38 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.004741, allocations: 50.7 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.00475, allocations: 0 / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.004758, allocations: 4 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.004763, allocations: 0 / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.004786, allocations: 15.92 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.004965, allocations: 159.8 kB / 326.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.005085, allocations: 34.56 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.005097, allocations: 8.859 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.005111, allocations: 7.938 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.00513, allocations: 34.5 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.00513, allocations: 0 / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002287/0.005359, allocations: 85.64 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.005387, allocations: 51.41 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.005478, allocations: 159.5 kB / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005489, allocations: 29.7 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.005518, allocations: 88.12 kB / 327 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.005539, allocations: 23.78 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.005564, allocations: 21.7 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.005641, allocations: 322.8 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.005651, allocations: 4 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.005661, allocations: 4 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.00569, allocations: 20.84 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005692, allocations: 0 / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.748e-05/0.005749, allocations: 49.84 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.00576, allocations: 8 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005765, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.005774, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.005816, allocations: 11.98 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.00582, allocations: 0 / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.005839, allocations: 15.98 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005844, allocations: 0 / 327.5 MB, free: 5.254 MB / 298.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.61e-05/0.0059, allocations: 112.6 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.005917, allocations: 15.92 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.006011, allocations: 66.06 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006013, allocations: 0 / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.006014, allocations: 320 / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.006016, allocations: 0 / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.006191, allocations: 218.8 kB / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006192, allocations: 0 / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.006218, allocations: 12 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00622, allocations: 0 / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-06/0.006223, allocations: 0 / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006225, allocations: 3.938 kB / 327.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.006226, allocations: 3.984 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.013e-05/0.006296, allocations: 147.5 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006306, allocations: 7.953 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.006315, allocations: 4 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.006343, allocations: 3.984 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.006362, allocations: 4 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006365, allocations: 0 / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.0064, allocations: 50.08 kB / 328.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0064, allocations: 0 / 328.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001284/0.006529, allocations: 19.94 kB / 328.2 MB, free: 4.539 MB / 298.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.001053/0.007581, allocations: 0.4944 MB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.007655, allocations: 20.8 kB / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.007658, allocations: 0 / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.007676, allocations: 20.84 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.007832, allocations: 27.86 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.008119, allocations: 186.8 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.008153, allocations: 59.34 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.008181, allocations: 16.22 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.008228, allocations: 63.31 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008229, allocations: 0 / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of Templates: time 0.002817/0.01105, allocations: 1.238 MB / 330.3 MB, free: 2.641 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.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.0449742418713868]