Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.000958/0.000958, allocations: 80.8 kB / 21.5 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.001296/0.001296, allocations: 172.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.994/0.994, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2818/0.2818, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.053e-05, allocations: 3.078 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003319/0.00334, allocations: 1.698 MB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004457, allocations: 0.5413 MB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.00452, allocations: 4 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.004854, allocations: 127.5 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.005166, allocations: 119.5 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.005444, allocations: 95.62 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.005652, allocations: 100.4 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.005762, allocations: 7.984 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005868, allocations: 67.86 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.005998, allocations: 67.84 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.006016, allocations: 4 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006117, allocations: 47.91 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.006173, allocations: 31.86 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.006204, allocations: 15.94 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.006403, allocations: 103.5 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006406, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006406, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006411, allocations: 4 kB / 328.3 MB, free: 4.586 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.0004249/0.006836, allocations: 345.4 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.00688, allocations: 8.031 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.006923, allocations: 12.92 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.007117, allocations: 137.6 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.007128, allocations: 12.31 kB / 328.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.00715, allocations: 4.359 kB / 328.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.007265, allocations: 58.95 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.007279, allocations: 192 / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.007288, allocations: 4.125 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.007295, allocations: 4 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.007325, allocations: 15.92 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.007601, allocations: 179 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.007665, allocations: 26.56 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.007684, allocations: 8.859 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.007703, allocations: 0 / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.007735, allocations: 46.58 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.007736, allocations: 0 / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.008293, allocations: 138.1 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.008328, allocations: 59.34 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.008509, allocations: 213.2 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.008524, allocations: 25.7 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.008568, allocations: 100 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.0086, allocations: 35.72 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.008637, allocations: 17.72 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.008738, allocations: 326.8 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.008754, allocations: 7.984 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.00877, allocations: 4 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.008816, allocations: 41.05 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008819, allocations: 4 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.315e-05/0.008902, allocations: 61.61 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.008915, allocations: 7.938 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008919, allocations: 0 / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.008935, allocations: 4.422 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.00901, allocations: 15.98 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.009013, allocations: 0 / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.009037, allocations: 0 / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.009044, allocations: 4 kB / 330.2 MB, free: 2.535 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 6.287e-05/0.009107, allocations: 116.7 kB / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.009131, allocations: 15.92 kB / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.009273, allocations: 79.05 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.009277, allocations: 4 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009279, allocations: 3.938 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009282, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.009556, allocations: 255.5 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009558, allocations: 0 / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.009601, allocations: 15.98 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.009604, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.009611, allocations: 12.03 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009613, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009615, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.00971, allocations: 168.2 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.00972, allocations: 15.91 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.00973, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.009767, allocations: 8 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.009792, allocations: 3.984 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.009797, allocations: 4 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.009851, allocations: 68.61 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009851, allocations: 4 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.009992, allocations: 23.98 kB / 331 MB, free: 1.684 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.001244/0.01124, allocations: 0.5769 MB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01134, allocations: 40.72 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.01135, allocations: 0 / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.01137, allocations: 20.8 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.01155, allocations: 19.98 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.0119, allocations: 253 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.01195, allocations: 75.33 kB / 332 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.01198, allocations: 17.09 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.01204, allocations: 63.36 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01204, allocations: 0 / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of Templates: time 0.003307/0.01535, allocations: 1.51 MB / 333.6 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.89052776992321]