Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001047/0.001047, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001156/0.001156, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9757/0.9757, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2971/0.2971, allocations: 34.27 MB / 296.1 MB, free: 0.7422 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.574e-05, allocations: 5.266 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002316/0.002332, allocations: 2.024 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003945, allocations: 1.102 MB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.004045, allocations: 3.938 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.004419, allocations: 270.9 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.004769, allocations: 270.9 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.005469, allocations: 0.6314 MB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.00575, allocations: 366.9 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.005893, allocations: 44.91 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.006069, allocations: 183.5 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.006246, allocations: 207.5 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.006269, allocations: 12 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.006389, allocations: 103.8 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.006484, allocations: 103.6 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.006534, allocations: 59.7 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.006793, allocations: 278.8 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006794, allocations: 0 / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006795, allocations: 3.938 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.006801, allocations: 3.938 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004919/0.007292, allocations: 0.7086 MB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.007324, allocations: 8.031 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.007395, allocations: 52.66 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.007689, allocations: 290.6 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.007706, allocations: 8.375 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.007735, allocations: 12.38 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.007897, allocations: 94.84 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.007907, allocations: 192 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007918, allocations: 12.11 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.007923, allocations: 4 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.007969, allocations: 28.62 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.008335, allocations: 419.8 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.008414, allocations: 70.97 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.008439, allocations: 23.67 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.008465, allocations: 7.984 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.008483, allocations: 37.39 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.008484, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004174/0.008902, allocations: 263.1 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.008934, allocations: 51.41 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.009328, allocations: 474.5 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.009344, allocations: 33.7 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.009457, allocations: 267.1 kB / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.009493, allocations: 63.47 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.009531, allocations: 39.36 kB / 387.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.009663, allocations: 0.5429 MB / 387.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.00969, allocations: 23.89 kB / 387.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.009716, allocations: 19.98 kB / 387.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.00978, allocations: 61.86 kB / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009781, allocations: 0 / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004241/0.01021, allocations: 153.2 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.01022, allocations: 4 kB / 387.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01022, allocations: 0 / 387.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01023, allocations: 7.938 kB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.01031, allocations: 35.98 kB / 387.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.01032, allocations: 0 / 387.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.01035, allocations: 11.98 kB / 387.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.01036, allocations: 4 kB / 387.9 MB, free: 8.762 MB / 362.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 (17): * Single equations (assignments): 17 * 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 7.167e-05/0.01043, allocations: 164.5 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.01047, allocations: 47.67 kB / 388.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.01066, allocations: 167.8 kB / 388.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01066, allocations: 7.875 kB / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01066, allocations: 3.984 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01067, allocations: 0 / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.01109, allocations: 0.4938 MB / 388.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01109, allocations: 3.938 kB / 388.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.01116, allocations: 31.92 kB / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01116, allocations: 4 kB / 388.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01117, allocations: 4 kB / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01117, allocations: 0 / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01117, allocations: 0 / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.01133, allocations: 310.2 kB / 389.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01135, allocations: 31.7 kB / 389.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01137, allocations: 4 kB / 389.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.01141, allocations: 15.98 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.01144, allocations: 11.98 kB / 389.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01145, allocations: 7.938 kB / 389.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.0116, allocations: 303 kB / 389.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0116, allocations: 0 / 389.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.01177, allocations: 55.92 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001338/0.01311, allocations: 0.6528 MB / 390.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01322, allocations: 90.75 kB / 390.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01322, allocations: 0 / 390.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.01327, allocations: 51.59 kB / 390.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01356, allocations: 102.1 kB / 390.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.01416, allocations: 0.6002 MB / 391 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.01423, allocations: 120.2 kB / 391.2 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.01431, allocations: 45.92 kB / 391.2 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.01445, allocations: 126.2 kB / 391.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01445, allocations: 0 / 391.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of Templates: time 0.005912/0.02037, allocations: 3.795 MB / 395.1 MB, free: 1.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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: 3.3734133220277727]