Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009269/0.0009269, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001088/0.001088, allocations: 174 kB / 25.61 MB, free: 8.867 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.894/0.894, allocations: 177.1 MB / 206 MB, free: 4.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.1466/0.1466, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.902e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001835/0.001854, allocations: 1.622 MB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.002471, allocations: 0.5181 MB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.00252, allocations: 0 / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.002703, allocations: 31.78 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.002918, allocations: 71.62 kB / 381.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.00311, allocations: 103.5 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003223, allocations: 67.83 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.0033, allocations: 11.84 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.003344, allocations: 27.92 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.003391, allocations: 19.86 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.003403, allocations: 4 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.003459, allocations: 31.97 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.003495, allocations: 15.94 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003514, allocations: 15.92 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003625, allocations: 71.73 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003627, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003628, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.003632, allocations: 4 kB / 381.9 MB, free: 20.76 MB / 314.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.0002662/0.003898, allocations: 404.2 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.003927, allocations: 8.031 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.003954, allocations: 16.81 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.00404, allocations: 132.5 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.004048, allocations: 384 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.004062, allocations: 8.375 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.982e-05/0.004132, allocations: 50.95 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00414, allocations: 192 / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.004146, allocations: 4.125 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00415, allocations: 4 kB / 382.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.004168, allocations: 7.984 kB / 382.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.004325, allocations: 248.3 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.004436, allocations: 43.11 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.004448, allocations: 11.69 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.004463, allocations: 0 / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.004478, allocations: 45.33 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004479, allocations: 0 / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002442/0.004724, allocations: 93.53 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.00474, allocations: 51.41 kB / 383 MB, free: 19.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.004806, allocations: 200.6 kB / 383.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.004811, allocations: 33.58 kB / 383.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.004837, allocations: 138.9 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.004855, allocations: 27.78 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.004878, allocations: 19.38 kB / 383.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.004913, allocations: 0.4884 MB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.004922, allocations: 8 kB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.004933, allocations: 7.984 kB / 383.9 MB, free: 18.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.004958, allocations: 27.88 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004959, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.707e-05/0.005016, allocations: 57.58 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.005025, allocations: 4 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00503, allocations: 4 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.625e-06/0.005037, allocations: 0 / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.005076, allocations: 11.94 kB / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.005078, allocations: 0 / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.005095, allocations: 15.98 kB / 384 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.005099, allocations: 0 / 384 MB, free: 18.42 MB / 314.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 3.48e-05/0.005134, allocations: 152.6 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.005153, allocations: 15.89 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.005235, allocations: 66.12 kB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005236, allocations: 0 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005238, allocations: 288 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.00524, allocations: 0 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.005395, allocations: 302 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005396, allocations: 0 / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.005422, allocations: 15.98 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005423, allocations: 0 / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.005428, allocations: 3.984 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005429, allocations: 4 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00543, allocations: 0 / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.652e-05/0.005497, allocations: 216 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.005502, allocations: 3.953 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005512, allocations: 4 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.005541, allocations: 0 / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.005563, allocations: 7.984 kB / 384.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.005565, allocations: 3.938 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.005601, allocations: 154.2 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005601, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000157/0.005758, allocations: 11.98 kB / 385 MB, free: 17.41 MB / 314.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.0007183/0.006476, allocations: 393.2 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.006542, allocations: 27.61 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006543, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.006559, allocations: 19.67 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.006754, allocations: 26.7 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.006968, allocations: 164.5 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.166e-05/0.006989, allocations: 67.2 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.007013, allocations: 8 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.007052, allocations: 82.19 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.007053, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of Templates: time 0.002466/0.009519, allocations: 1.269 MB / 387 MB, free: 15.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.9015064048580825]