Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001306/0.001306, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001435/0.001435, allocations: 167.3 kB / 24.91 MB, free: 9.109 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.9818/0.9818, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.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.2788/0.2788, allocations: 34.25 MB / 296.1 MB, free: 0.6562 MB / 266.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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.545e-05, allocations: 6.25 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002653/0.002679, allocations: 1.657 MB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003878, allocations: 0.5258 MB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.003953, allocations: 4 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.004255, allocations: 79.64 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.004581, allocations: 111.5 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.004858, allocations: 99.56 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.005058, allocations: 76.45 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005174, allocations: 19.97 kB / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.005264, allocations: 39.91 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.00539, allocations: 47.88 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.005408, allocations: 0 / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005516, allocations: 51.86 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.005575, allocations: 23.91 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.005606, allocations: 11.94 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.005776, allocations: 99.66 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.00578, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005781, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005786, allocations: 0 / 328.1 MB, free: 4.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003799/0.006166, allocations: 317.6 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.006204, allocations: 8.031 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.00624, allocations: 8.875 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.006401, allocations: 147.4 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.006411, allocations: 4.375 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.006436, allocations: 384 / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006544, allocations: 62.88 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.006555, allocations: 8.172 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.006563, allocations: 8.125 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.006568, allocations: 0 / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.006589, allocations: 4 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.006826, allocations: 179 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.006883, allocations: 30.56 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.006899, allocations: 4.859 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.006919, allocations: 4 kB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.006943, allocations: 38.5 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.006944, allocations: 0 / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004818/0.007426, allocations: 146.1 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.007468, allocations: 55.41 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.007615, allocations: 181.5 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.007627, allocations: 25.7 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.007665, allocations: 100 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.007692, allocations: 31.73 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007726, allocations: 21.72 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.007815, allocations: 322.8 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.007831, allocations: 15.98 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.007846, allocations: 4 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.007882, allocations: 28.83 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007883, allocations: 0 / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.102e-05/0.007954, allocations: 65.77 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.007968, allocations: 8 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007972, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.007983, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.008059, allocations: 15.98 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.008062, allocations: 0 / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.008081, allocations: 4 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.008088, allocations: 8 kB / 329.9 MB, free: 2.812 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 (8): * Single equations (assignments): 8 * 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 6.741e-05/0.008155, allocations: 112.7 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.008174, allocations: 15.86 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.008299, allocations: 71.08 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.008305, allocations: 8 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.008307, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.008312, allocations: 3.984 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.008585, allocations: 247.5 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008587, allocations: 0 / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.008627, allocations: 16.03 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.00863, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.008639, allocations: 8 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.008643, allocations: 3.984 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008644, allocations: 0 / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.008772, allocations: 164.7 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.008784, allocations: 11.91 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.008797, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.00883, allocations: 8 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.008869, allocations: 11.97 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.008874, allocations: 4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.008926, allocations: 52.14 kB / 330.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.008927, allocations: 0 / 330.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.009092, allocations: 20 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001434/0.01053, allocations: 0.5744 MB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01063, allocations: 36.78 kB / 331.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.01063, allocations: 0 / 331.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.01066, allocations: 28.77 kB / 331.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01084, allocations: 19.98 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.01122, allocations: 215.7 kB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.972e-05/0.01127, allocations: 75.28 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01131, allocations: 21.09 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.01137, allocations: 55.38 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01137, allocations: 0 / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003781/0.01515, allocations: 1.492 MB / 333.2 MB, free: 15.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.918724372982979]