Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.0008896/0.0008896, 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.001051/0.001051, allocations: 173.6 kB / 24.92 MB, free: 8.766 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.9337/0.9337, allocations: 177.1 MB / 205.3 MB, free: 5.438 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.2604/0.2604, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.739e-05, allocations: 2.969 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003387/0.003414, allocations: 1.703 MB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004604, allocations: 0.5684 MB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.004676, allocations: 7.938 kB / 325.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.004973, allocations: 51.73 kB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.005304, allocations: 87.55 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.005765, allocations: 179.5 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.005951, allocations: 87.75 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00606, allocations: 16.84 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.006152, allocations: 51.77 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.006248, allocations: 35.95 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.006266, allocations: 4 kB / 326 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.006375, allocations: 55.86 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.006453, allocations: 27.91 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.006485, allocations: 19.92 kB / 326.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.006685, allocations: 91.66 kB / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006689, allocations: 0 / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.00669, allocations: 0 / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.006694, allocations: 3.938 kB / 326.2 MB, free: 6.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004347/0.007129, allocations: 309.4 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.007164, allocations: 12.03 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.007205, allocations: 8.922 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.007385, allocations: 145.6 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.007396, allocations: 384 / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.007424, allocations: 8.375 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.007563, allocations: 66.88 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.007578, allocations: 8.141 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.007587, allocations: 4.125 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.007598, allocations: 7.984 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.007635, allocations: 8 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.007955, allocations: 183 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.00812, allocations: 42.55 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.008145, allocations: 8.859 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.008163, allocations: 4.125 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.00819, allocations: 38.5 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.008191, allocations: 0 / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000734/0.008925, allocations: 209.3 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.008964, allocations: 55.41 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.009105, allocations: 161.1 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.009121, allocations: 29.7 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.009174, allocations: 96.11 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.009223, allocations: 43.52 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.00928, allocations: 25.7 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.009398, allocations: 330.8 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.00943, allocations: 8 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.009459, allocations: 12.64 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.009536, allocations: 44.62 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009537, allocations: 0 / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001217/0.009659, allocations: 71.69 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.009675, allocations: 11.94 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00968, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.009695, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.009792, allocations: 20.55 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.009795, allocations: 0 / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.009835, allocations: 8 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.009846, allocations: 4 kB / 328.2 MB, free: 4.559 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 (11): * Single equations (assignments): 11 * 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 8.016e-05/0.009926, allocations: 124.5 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.00996, allocations: 12 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.01014, allocations: 86.42 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01014, allocations: 4 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01015, allocations: 0 / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01015, allocations: 0 / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.01055, allocations: 284.2 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01056, allocations: 4 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.01065, allocations: 19.98 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01065, allocations: 0 / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01066, allocations: 8.062 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01066, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01066, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01083, allocations: 189 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.01084, allocations: 11.91 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01086, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.01094, allocations: 11.98 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.01097, allocations: 11.92 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01098, allocations: 4 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.01104, allocations: 42.7 kB / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01104, allocations: 4 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.01131, allocations: 27.92 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002072/0.01339, allocations: 0.5719 MB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01352, allocations: 52.77 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01352, allocations: 7.938 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.01357, allocations: 32.78 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01383, allocations: 27.66 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.01431, allocations: 252.9 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.01438, allocations: 75.33 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.01446, allocations: 16.61 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.01454, allocations: 71.38 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01454, allocations: 0 / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of Templates: time 0.004716/0.01926, allocations: 1.742 MB / 331.8 MB, free: 1.082 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.922661201097071]