Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001453/0.001453, allocations: 80.8 kB / 21.5 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.001213/0.001213, allocations: 173.9 kB / 24.91 MB, free: 9.191 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.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2417/0.2417, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.553e-05, allocations: 9.188 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001929/0.001945, allocations: 1.653 MB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.002603, allocations: 0.5452 MB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.00265, allocations: 0 / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.002899, allocations: 111.6 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.003138, allocations: 119.5 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003355, allocations: 123.5 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003489, allocations: 88.44 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.003558, allocations: 15.98 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.003632, allocations: 55.75 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.003731, allocations: 55.94 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003744, allocations: 7.938 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.003831, allocations: 47.91 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.003873, allocations: 23.92 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.003895, allocations: 11.94 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.00402, allocations: 99.59 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.004021, allocations: 0 / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004022, allocations: 0 / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.004025, allocations: 0 / 328.2 MB, free: 4.699 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.0002886/0.004313, allocations: 337.4 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.004339, allocations: 12.03 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.004363, allocations: 4.938 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.004486, allocations: 150.4 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.004495, allocations: 384 / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.004514, allocations: 8.359 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.004594, allocations: 54.95 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.004603, allocations: 4.172 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-06/0.00461, allocations: 4.125 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.004615, allocations: 3.938 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.004636, allocations: 19.92 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.004835, allocations: 175.1 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.00488, allocations: 29.41 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.004894, allocations: 12.94 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.00491, allocations: 7.938 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.00493, allocations: 34.5 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004931, allocations: 0 / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000363/0.005294, allocations: 146 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.005321, allocations: 55.41 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.005428, allocations: 201.6 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.005437, allocations: 25.7 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.005466, allocations: 96.11 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.005489, allocations: 35.72 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.005513, allocations: 13.72 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.005579, allocations: 326.8 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.00559, allocations: 4 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.005603, allocations: 11.98 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.005638, allocations: 35.83 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.005639, allocations: 8 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.114e-05/0.0057, allocations: 61.59 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.005709, allocations: 4 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.005712, allocations: 4 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.005724, allocations: 0 / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.005776, allocations: 15.98 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005778, allocations: 0 / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.005794, allocations: 4 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.005799, allocations: 0 / 330.1 MB, free: 2.668 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.985e-05/0.005849, allocations: 116.6 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.005867, allocations: 19.92 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.005954, allocations: 71.14 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005956, allocations: 7.938 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.005958, allocations: 3.984 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005961, allocations: 0 / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.006164, allocations: 255.5 kB / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006165, allocations: 4 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.006196, allocations: 19.92 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.006197, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.006201, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006203, allocations: 4.031 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.006205, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.006283, allocations: 160.7 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.006293, allocations: 15.91 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.006302, allocations: 0 / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.006334, allocations: 7.984 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.006356, allocations: 7.984 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.00636, allocations: 7.922 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.006406, allocations: 64.23 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000133/0.006539, allocations: 19.94 kB / 330.9 MB, free: 1.824 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.001048/0.007587, allocations: 0.5713 MB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.007664, allocations: 36.77 kB / 331.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.007667, allocations: 4 kB / 331.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.00769, allocations: 28.78 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.007831, allocations: 21.89 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.008116, allocations: 246.5 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.008156, allocations: 75.27 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.008187, allocations: 13.09 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.008237, allocations: 63.38 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008237, allocations: 3.938 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of Templates: time 0.002844/0.01108, allocations: 1.527 MB / 333.4 MB, free: 15.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.9439280880615115]