Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0008881/0.0008881, 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.001011/0.001011, allocations: 173.9 kB / 24.92 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.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2815/0.2815, allocations: 34.26 MB / 296.1 MB, free: 0.6641 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.723e-05, allocations: 3.672 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002059/0.002077, allocations: 1.704 MB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.002849, allocations: 0.553 MB / 327.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.0029, allocations: 3.938 kB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.003132, allocations: 91.69 kB / 327.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.003336, allocations: 111.5 kB / 327.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.003548, allocations: 111.7 kB / 327.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.003673, allocations: 88.36 kB / 328 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.003744, allocations: 16 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.003802, allocations: 47.88 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.003872, allocations: 43.89 kB / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.003882, allocations: 4 kB / 328.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.003955, allocations: 47.91 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.003991, allocations: 23.86 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004013, allocations: 15.94 kB / 328.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.004138, allocations: 99.59 kB / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.00414, allocations: 0 / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00414, allocations: 0 / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.004144, allocations: 0 / 328.3 MB, free: 4.688 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.0002713/0.004415, allocations: 329.4 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.004442, allocations: 12.03 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.004466, allocations: 4.938 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004576, allocations: 141.6 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.004584, allocations: 4.375 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.004598, allocations: 4.312 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.247e-05/0.00467, allocations: 62.94 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004679, allocations: 4.141 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.004687, allocations: 8.125 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.00469, allocations: 0 / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.004709, allocations: 7.984 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.004891, allocations: 175.1 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.004932, allocations: 33.41 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.004946, allocations: 8.859 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.004959, allocations: 8.078 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.004976, allocations: 38.5 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004977, allocations: 4 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003633/0.00534, allocations: 142.2 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.005363, allocations: 55.41 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.005467, allocations: 188.2 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.005476, allocations: 25.7 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.005505, allocations: 104 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.005528, allocations: 27.77 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.005553, allocations: 21.66 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.005625, allocations: 330.8 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.005637, allocations: 7.984 kB / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.005649, allocations: 4 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.005681, allocations: 31.89 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005682, allocations: 0 / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.16e-05/0.005744, allocations: 69.59 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.005752, allocations: 4 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005756, allocations: 0 / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.086e-06/0.005764, allocations: 0 / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.00582, allocations: 23.92 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.005822, allocations: 0 / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.005837, allocations: 4 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.005843, allocations: 4 kB / 330.1 MB, free: 2.676 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 4.898e-05/0.005892, allocations: 112.7 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.005912, allocations: 15.92 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.499e-05/0.006007, allocations: 79.08 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006008, allocations: 3.938 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.006009, allocations: 0 / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.006012, allocations: 4 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.006212, allocations: 247.5 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006213, allocations: 4.031 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.006246, allocations: 15.98 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006248, allocations: 4 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.006254, allocations: 4 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006255, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006256, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.006333, allocations: 168.2 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.006343, allocations: 15.89 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-06/0.006353, allocations: 0 / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.319e-05/0.006386, allocations: 8 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.006408, allocations: 7.984 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.006413, allocations: 4 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.006453, allocations: 55.64 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006453, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.006588, allocations: 27.88 kB / 330.9 MB, free: 1.84 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.001115/0.007703, allocations: 0.5652 MB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.00778, allocations: 44.7 kB / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.007785, allocations: 4 kB / 331.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.007806, allocations: 20.84 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.00795, allocations: 19.92 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.008222, allocations: 247.5 kB / 331.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.008256, allocations: 71.39 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.00829, allocations: 21.02 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.008338, allocations: 63.38 kB / 331.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008339, allocations: 0 / 331.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of Templates: time 0.002717/0.01106, allocations: 1.521 MB / 333.4 MB, free: 15.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.81203585723415]