Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.0009356/0.0009356, allocations: 80.92 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.0009865/0.0009865, allocations: 168 kB / 24.91 MB, free: 9.184 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.9531/0.9531, 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.2586/0.2586, 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.523e-05, allocations: 2.312 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003146/0.003171, allocations: 1.646 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.005018, allocations: 1.289 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.005084, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.005331, allocations: 19.86 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.005675, allocations: 91.48 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.005958, allocations: 87.64 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.006124, allocations: 72.39 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.006218, allocations: 11.98 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.006295, allocations: 31.91 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.006403, allocations: 27.92 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.00642, allocations: 0 / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.006592, allocations: 95.81 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.006645, allocations: 19.91 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.006675, allocations: 8 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.006924, allocations: 135.5 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006928, allocations: 4 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006929, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006934, allocations: 0 / 328.8 MB, free: 4.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004025/0.007336, allocations: 305.7 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.007374, allocations: 12.03 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.007411, allocations: 4.938 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.00757, allocations: 125.7 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.00758, allocations: 4.375 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.007602, allocations: 4.375 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.00774, allocations: 94.34 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.00775, allocations: 192 / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.00776, allocations: 8.125 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.007766, allocations: 3.938 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.007791, allocations: 8 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.008021, allocations: 159.1 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008168, allocations: 42.55 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.008183, allocations: 8.844 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.0082, allocations: 4 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.008225, allocations: 38.56 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.008226, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003136/0.00854, allocations: 82.06 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.008581, allocations: 81.11 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008707, allocations: 140.3 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.00872, allocations: 25.7 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.008764, allocations: 104.1 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.008784, allocations: 11.84 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.008816, allocations: 17.72 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.00891, allocations: 322.8 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.008923, allocations: 4 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.00896, allocations: 43.41 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.008996, allocations: 25.02 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.009, allocations: 4 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.481e-05/0.009075, allocations: 53.56 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.009087, allocations: 4 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009092, allocations: 32 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.009105, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.009162, allocations: 8 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.009164, allocations: 0 / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.009196, allocations: 11.98 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.009201, allocations: 0 / 330.5 MB, free: 2.207 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 (5): * Single equations (assignments): 5 * 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 6.75e-05/0.009269, allocations: 116.6 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.009298, allocations: 7.938 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.009411, allocations: 62.08 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.009414, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009415, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.009418, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.009679, allocations: 206.8 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.009682, allocations: 3.938 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.00973, allocations: 15.92 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.009732, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.009738, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.009739, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009741, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.009846, allocations: 147.7 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.009861, allocations: 15.95 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.009876, allocations: 8 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.009933, allocations: 4 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.00996, allocations: 7.984 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.009966, allocations: 4 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.01001, allocations: 30.33 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01001, allocations: 0 / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01029, allocations: 39.86 kB / 331.2 MB, free: 1.488 MB / 298.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 (5): * Single equations (assignments): 5 * 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.00191/0.0122, allocations: 0.6281 MB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.0123, allocations: 16.86 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.01231, allocations: 8 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.01233, allocations: 12.84 kB / 331.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01257, allocations: 26.58 kB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.01296, allocations: 166.7 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.01301, allocations: 63.34 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.01307, allocations: 11.98 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.01317, allocations: 67.36 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01317, allocations: 4 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of Templates: time 0.004887/0.01805, allocations: 1.981 MB / 334.2 MB, free: 14.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.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.886939379386604]