Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001416/0.001416, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001592/0.001592, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2404/0.2404, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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.Test24,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.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.331e-05, allocations: 2.312 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002251/0.002274, allocations: 1.639 MB / 326.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.003823, allocations: 1.305 MB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.003884, allocations: 0 / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.004092, allocations: 23.8 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.004392, allocations: 87.55 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.004649, allocations: 111.6 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.004779, allocations: 72.39 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.004858, allocations: 11.92 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.004917, allocations: 35.91 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.005011, allocations: 29.78 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.005025, allocations: 4 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.005171, allocations: 87.81 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.005213, allocations: 19.92 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.005235, allocations: 12 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.005422, allocations: 135.5 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005424, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005425, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005429, allocations: 0 / 328.8 MB, free: 4.109 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.0003389/0.005768, allocations: 301.7 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.005801, allocations: 8.031 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.00583, allocations: 8.875 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.005969, allocations: 133.7 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.005978, allocations: 8.375 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.005998, allocations: 384 / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.006113, allocations: 94.36 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006121, allocations: 4.188 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.006129, allocations: 4.125 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.006134, allocations: 3.938 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.006154, allocations: 7.984 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.006367, allocations: 163.1 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.0065, allocations: 37.45 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.006514, allocations: 8.859 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006529, allocations: 8 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.00655, allocations: 38.58 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.006552, allocations: 0 / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002594/0.006811, allocations: 90.23 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.006846, allocations: 77.11 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.006944, allocations: 144.3 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006955, allocations: 25.7 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.006986, allocations: 92.08 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.007004, allocations: 15.89 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.007031, allocations: 17.72 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.007103, allocations: 322.8 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.007114, allocations: 4 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.007145, allocations: 47.41 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.007178, allocations: 23.86 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.007179, allocations: 0 / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.979e-05/0.007238, allocations: 57.56 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.007251, allocations: 6.812 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007256, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007267, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.007311, allocations: 11.98 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007314, allocations: 4.031 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.00734, allocations: 4 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.007344, allocations: 3.938 kB / 330.6 MB, free: 2.18 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 5.899e-05/0.007403, allocations: 120.6 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.007422, allocations: 11.92 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.007516, allocations: 58.08 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007518, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.007519, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007522, allocations: 4 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.007716, allocations: 210.8 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.007719, allocations: 7.938 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.00775, allocations: 11.94 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.007753, allocations: 3.984 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.007758, allocations: 0 / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00776, allocations: 192 / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007762, allocations: 4 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.00784, allocations: 143.5 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.00785, allocations: 11.89 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007863, allocations: 7.984 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.007895, allocations: 0 / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.007917, allocations: 8 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.007919, allocations: 0 / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.007953, allocations: 39.64 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007953, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008124, allocations: 35.88 kB / 331.2 MB, free: 1.453 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.001291/0.009416, allocations: 0.6226 MB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.009503, allocations: 36.83 kB / 331.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.009507, allocations: 0 / 331.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.009526, allocations: 12.86 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.009681, allocations: 23.92 kB / 331.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.009952, allocations: 170.4 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.009984, allocations: 66.59 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01002, allocations: 11.98 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.01008, allocations: 63.36 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01008, allocations: 0 / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of Templates: time 0.003572/0.01365, allocations: 2.006 MB / 334.2 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.925029086880386]