Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.000908/0.000908, allocations: 81.97 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.001265/0.001265, allocations: 164.8 kB / 25.61 MB, free: 8.902 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/1, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1353/0.1353, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.641e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001819/0.001836, allocations: 1.638 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.002469, allocations: 0.5375 MB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.002528, allocations: 0 / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.00277, allocations: 83.64 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.003025, allocations: 103.6 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.003241, allocations: 115.6 kB / 379.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003367, allocations: 91.67 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.003448, allocations: 11.98 kB / 379.9 MB, free: 23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.003502, allocations: 39.91 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.003586, allocations: 59.86 kB / 380 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.003598, allocations: 4 kB / 380 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.003664, allocations: 47.91 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.003703, allocations: 15.94 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.003729, allocations: 15.92 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003855, allocations: 91.67 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003856, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003857, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.003862, allocations: 0 / 380.1 MB, free: 22.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003021/0.004164, allocations: 451.8 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.004202, allocations: 15.98 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.004233, allocations: 20.84 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.004331, allocations: 146.5 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.004339, allocations: 8.344 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.004355, allocations: 4.375 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.029e-05/0.004425, allocations: 58.95 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004434, allocations: 192 / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.00444, allocations: 4.125 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004444, allocations: 0 / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.004466, allocations: 15.92 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.004661, allocations: 268.4 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.004713, allocations: 35.05 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.004727, allocations: 15.62 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.004741, allocations: 0 / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.004755, allocations: 45.33 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004756, allocations: 4 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003836/0.005139, allocations: 153.5 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.005158, allocations: 55.41 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.005239, allocations: 230.8 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.005245, allocations: 25.7 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.005282, allocations: 166.7 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.005303, allocations: 27.73 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.00533, allocations: 31.36 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.005382, allocations: 0.4923 MB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.005395, allocations: 12 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.005408, allocations: 12.05 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.005442, allocations: 35.61 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005443, allocations: 3.938 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.514e-05/0.005508, allocations: 69.64 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005518, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005522, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.00553, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.005586, allocations: 19.98 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005588, allocations: 0 / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.005605, allocations: 7.938 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.005611, allocations: 7.984 kB / 382.5 MB, free: 20.12 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 (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 4.641e-05/0.005657, allocations: 160.5 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.005678, allocations: 15.91 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-05/0.005776, allocations: 83.12 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.005779, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00578, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005784, allocations: 3.984 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.005991, allocations: 342 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.005993, allocations: 8.031 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.006027, allocations: 19.92 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.00603, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.006035, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006035, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006036, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.261e-05/0.006119, allocations: 243.8 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.006128, allocations: 15.89 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006138, allocations: 0 / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.00617, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.006193, allocations: 15.92 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006198, allocations: 4 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.412e-05/0.006242, allocations: 167.1 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006242, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.006401, allocations: 19.94 kB / 383.6 MB, free: 18.96 MB / 314.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.0008881/0.007289, allocations: 435.3 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.007372, allocations: 43.58 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007374, allocations: 4 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.007396, allocations: 27.73 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.007607, allocations: 16 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.007867, allocations: 239.7 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.007896, allocations: 75.19 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.007927, allocations: 13.03 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.007969, allocations: 82.19 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00797, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003113/0.01108, allocations: 1.551 MB / 386.1 MB, free: 16.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.2743489490821958]