Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001342/0.001342, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00137/0.00137, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2014/0.2014, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.526e-05, allocations: 6.219 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002727/0.002752, allocations: 1.614 MB / 441.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.00378, allocations: 0.5376 MB / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.003831, allocations: 0 / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.004128, allocations: 127.5 kB / 442.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.004446, allocations: 127.5 kB / 442.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.004742, allocations: 110.2 kB / 442.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.004925, allocations: 103.7 kB / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005028, allocations: 27.86 kB / 442.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.005119, allocations: 51.88 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005253, allocations: 87.83 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.005271, allocations: 0 / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.00536, allocations: 43.92 kB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.005423, allocations: 35.84 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.005457, allocations: 15.92 kB / 443 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.005657, allocations: 119.5 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005659, allocations: 0 / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00566, allocations: 8 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005664, allocations: 0 / 443.1 MB, free: 5.125 MB / 366.1 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.0004875/0.006151, allocations: 361.4 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.006185, allocations: 12.03 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.006221, allocations: 12.84 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.006411, allocations: 157.2 kB / 443.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.00642, allocations: 384 / 443.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.006443, allocations: 4.375 kB / 443.6 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.00658, allocations: 54.23 kB / 443.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.006591, allocations: 192 / 443.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006603, allocations: 4.125 kB / 443.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.006606, allocations: 8 kB / 443.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.0067, allocations: 23.98 kB / 443.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.007066, allocations: 256.4 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.007194, allocations: 38.56 kB / 444 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.007257, allocations: 28.81 kB / 444 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.007278, allocations: 4 kB / 444 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.007306, allocations: 34.5 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.007307, allocations: 0 / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009076/0.008215, allocations: 257.1 kB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.008251, allocations: 51.41 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.008527, allocations: 275.9 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.00855, allocations: 29.7 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.008633, allocations: 116.1 kB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.008664, allocations: 31.75 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.008708, allocations: 25.7 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.00885, allocations: 326.8 kB / 445.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.00894, allocations: 27.98 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.009022, allocations: 36.03 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.0092, allocations: 72.81 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.009201, allocations: 4 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002451/0.009446, allocations: 117.5 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.009458, allocations: 4 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.009462, allocations: 3.938 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009475, allocations: 0 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.009578, allocations: 19.98 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.009583, allocations: 0 / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.009631, allocations: 8 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.009639, allocations: 0 / 445.5 MB, free: 2.594 MB / 366.1 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 0.0001191/0.009758, allocations: 143.1 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.009798, allocations: 19.91 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.01011, allocations: 131.4 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01011, allocations: 0 / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.01012, allocations: 7.984 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01012, allocations: 0 / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.01066, allocations: 371 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01066, allocations: 3.938 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.01074, allocations: 24.02 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01074, allocations: 4 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01075, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01075, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01075, allocations: 4 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.01107, allocations: 224.1 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01109, allocations: 11.95 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.01111, allocations: 4 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.01119, allocations: 4 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.01122, allocations: 11.92 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01123, allocations: 4 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.01143, allocations: 216.1 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01143, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.01169, allocations: 27.89 kB / 446.6 MB, free: 1.328 MB / 366.1 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.001801/0.01349, allocations: 484.7 kB / 447.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.01373, allocations: 75.88 kB / 447.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01373, allocations: 0 / 447.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.01383, allocations: 39.91 kB / 447.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01414, allocations: 25.69 kB / 447.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.01477, allocations: 323.5 kB / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01488, allocations: 109.1 kB / 447.7 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.01495, allocations: 21.02 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.01498, allocations: 20.5 kB / 447.7 MB, free: 424 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01499, allocations: 0 / 447.7 MB, free: 424 kB / 366.1 MB Notification: Performance of Templates: time 0.164/0.179, allocations: 1.405 MB / 449.1 MB, free: 21.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4910187646746635]