Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.00125/0.00125, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001206/0.001206, allocations: 168.2 kB / 24.91 MB, free: 9.152 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2721/0.2721, allocations: 34.27 MB / 296.1 MB, free: 0.668 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.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.556e-05, allocations: 3.188 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002405/0.00243, allocations: 1.696 MB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.00318, allocations: 0.5374 MB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.003238, allocations: 0 / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.003484, allocations: 75.7 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.003733, allocations: 103.5 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.00396, allocations: 99.62 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.004101, allocations: 88.33 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.004181, allocations: 11.97 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.004247, allocations: 43.91 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.004333, allocations: 43.88 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004346, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.00442, allocations: 43.92 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.004462, allocations: 27.91 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.004486, allocations: 15.92 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004622, allocations: 91.61 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004624, allocations: 4 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004625, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.004629, allocations: 0 / 328.2 MB, free: 4.715 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.0003112/0.00494, allocations: 317.6 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.004969, allocations: 12.03 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.004994, allocations: 4.938 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005125, allocations: 147.4 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.005132, allocations: 4.312 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.005152, allocations: 4.375 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.005245, allocations: 58.94 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.005254, allocations: 4.188 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005262, allocations: 4.125 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.005268, allocations: 0 / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.005291, allocations: 8 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.005531, allocations: 179 kB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.005589, allocations: 26.56 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.005605, allocations: 8.859 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.005625, allocations: 3.938 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.005651, allocations: 42.5 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.005652, allocations: 0 / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004526/0.006105, allocations: 142.2 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.006137, allocations: 55.34 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.006256, allocations: 181.5 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006267, allocations: 25.7 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.006299, allocations: 108 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.006325, allocations: 27.75 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.006356, allocations: 17.72 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.006439, allocations: 330.8 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.006452, allocations: 8 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.006464, allocations: 8 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.006499, allocations: 29.05 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006501, allocations: 4 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.56e-05/0.006566, allocations: 58.03 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006578, allocations: 7.938 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006582, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.006592, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.006652, allocations: 15.98 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006657, allocations: 0 / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.006676, allocations: 8 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.006682, allocations: 8 kB / 330 MB, free: 2.73 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 5.574e-05/0.006738, allocations: 108.7 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.006763, allocations: 23.91 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.006865, allocations: 71.06 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006867, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.006869, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.006872, allocations: 4 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.007101, allocations: 247.5 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007103, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.007142, allocations: 27.95 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007144, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.007149, allocations: 4 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007151, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.007152, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.007238, allocations: 164.2 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.007249, allocations: 11.91 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.007259, allocations: 4 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.007291, allocations: 4 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.007317, allocations: 7.984 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.00732, allocations: 4 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.268e-05/0.007363, allocations: 52.14 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007363, allocations: 0 / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.007501, allocations: 20 kB / 330.8 MB, free: 1.922 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.001342/0.008843, allocations: 0.5795 MB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.008934, allocations: 32.73 kB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.008938, allocations: 0 / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.008963, allocations: 28.77 kB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.009132, allocations: 22.98 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.009456, allocations: 219.7 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.009496, allocations: 71.33 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.00953, allocations: 17.09 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.009589, allocations: 59.36 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.00959, allocations: 0 / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Templates: time 0.003094/0.01268, allocations: 1.488 MB / 333.3 MB, free: 15.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.0581317953765392]