Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001414/0.001414, 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.001275/0.001275, allocations: 173.5 kB / 24.91 MB, free: 8.793 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.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2996/0.2996, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.161e-05, allocations: 3.516 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002355/0.002377, allocations: 1.681 MB / 327 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.003136, allocations: 0.553 MB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.003189, allocations: 0 / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.003403, allocations: 39.77 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.003648, allocations: 83.56 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.003886, allocations: 123.5 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.004023, allocations: 87.75 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.004115, allocations: 27.97 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.004178, allocations: 43.91 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.004251, allocations: 35.89 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.004263, allocations: 4 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.004342, allocations: 55.84 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.004383, allocations: 23.86 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.004408, allocations: 15.92 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.004543, allocations: 95.66 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004544, allocations: 0 / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004545, allocations: 0 / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.004548, allocations: 0 / 328.1 MB, free: 4.785 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003011/0.004849, allocations: 314.1 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004878, allocations: 12.03 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.004907, allocations: 16.92 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.005026, allocations: 133.6 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005035, allocations: 8.375 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.005054, allocations: 4.375 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.005139, allocations: 67.69 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005147, allocations: 192 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.005157, allocations: 16.11 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.005162, allocations: 3.938 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.005187, allocations: 12 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.005453, allocations: 199 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.005514, allocations: 42.5 kB / 328.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.005532, allocations: 20.78 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.005546, allocations: 0 / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.005564, allocations: 34.56 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.005565, allocations: 0 / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004296/0.005994, allocations: 202.9 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.006019, allocations: 55.41 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.006101, allocations: 159.3 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.006111, allocations: 29.7 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.006137, allocations: 92.08 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.006162, allocations: 43.64 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006194, allocations: 29.69 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.006256, allocations: 326.7 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.006271, allocations: 8 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.006288, allocations: 21.42 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.00633, allocations: 35.67 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006331, allocations: 0 / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.965e-05/0.006401, allocations: 86.34 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.006411, allocations: 8 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.006414, allocations: 0 / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006424, allocations: 0 / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.006492, allocations: 31.97 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.006495, allocations: 0 / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.006512, allocations: 3.938 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.006519, allocations: 8 kB / 330.1 MB, free: 2.648 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 (13): * Single equations (assignments): 13 * 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.877e-05/0.006568, allocations: 116.5 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.006588, allocations: 15.98 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.006704, allocations: 101.2 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006706, allocations: 4 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006708, allocations: 0 / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006711, allocations: 0 / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.006966, allocations: 284.4 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006968, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.007015, allocations: 23.92 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.007017, allocations: 4 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.007023, allocations: 4 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.007026, allocations: 3.938 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007028, allocations: 8.031 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.47e-05/0.007123, allocations: 172.3 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007133, allocations: 15.91 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.007144, allocations: 4 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.007178, allocations: 11.86 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.007205, allocations: 11.98 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.00721, allocations: 4 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.00724, allocations: 34.66 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00724, allocations: 0 / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.007386, allocations: 31.94 kB / 330.9 MB, free: 1.754 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 (13): * Single equations (assignments): 13 * 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.001153/0.008539, allocations: 0.5754 MB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.008625, allocations: 48.78 kB / 331.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008627, allocations: 4 kB / 331.6 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.008658, allocations: 36.66 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.008803, allocations: 23.98 kB / 331.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.009085, allocations: 236.2 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.00912, allocations: 75.33 kB / 331.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.009159, allocations: 20.53 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.009212, allocations: 63.38 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009212, allocations: 0 / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of Templates: time 0.002925/0.01214, allocations: 1.724 MB / 333.7 MB, free: 15.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.9549542041495442]