Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0009196/0.0009196, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.0009974/0.0009974, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.59 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.2407/0.2407, allocations: 32.81 MB / 294.3 MB, free: 1.305 MB / 266.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.794e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002508/0.002536, allocations: 1.664 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.003361, allocations: 0.5415 MB / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.003426, allocations: 7.938 kB / 378.3 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.003716, allocations: 91.67 kB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.004015, allocations: 115.5 kB / 378.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.004261, allocations: 111.7 kB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.004416, allocations: 95.67 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.004513, allocations: 8 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.004578, allocations: 51.88 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.004664, allocations: 47.88 kB / 378.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.00468, allocations: 4 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.004772, allocations: 47.92 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.004821, allocations: 23.92 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.004855, allocations: 15.86 kB / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005012, allocations: 103.6 kB / 379 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005015, allocations: 0 / 379 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005016, allocations: 0 / 379 MB, free: 1.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.005023, allocations: 4 kB / 379 MB, free: 1.715 MB / 346.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.0004052/0.005428, allocations: 447.8 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005464, allocations: 8.031 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.00551, allocations: 16.89 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.005652, allocations: 160.3 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.005661, allocations: 384 / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005682, allocations: 8.312 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.005804, allocations: 58.95 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.005814, allocations: 192 / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005824, allocations: 4.125 kB / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005832, allocations: 4 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.005861, allocations: 7.984 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.006162, allocations: 299.7 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.006228, allocations: 46.98 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.006252, allocations: 15.62 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.006269, allocations: 0 / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.00629, allocations: 37.39 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.00629, allocations: 4 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.006816, allocations: 177.3 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.006848, allocations: 55.34 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.007, allocations: 250 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.00701, allocations: 25.7 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.007067, allocations: 162.7 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.007092, allocations: 27.75 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.007123, allocations: 23.38 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007235, allocations: 0.5117 MB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.007258, allocations: 8 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.007276, allocations: 8 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.007328, allocations: 39.89 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.00733, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.059e-05/0.00742, allocations: 73.64 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.007433, allocations: 7.938 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.007437, allocations: 0 / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007449, allocations: 0 / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.007526, allocations: 19.98 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.007531, allocations: 3.938 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.007549, allocations: 4 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007556, allocations: 4 kB / 381.4 MB, free: 15.03 MB / 362.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 7.392e-05/0.00763, allocations: 160.5 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.007653, allocations: 15.91 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.007797, allocations: 99.05 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.0078, allocations: 4 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.007804, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007807, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.008096, allocations: 384.9 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008098, allocations: 4.031 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.008137, allocations: 12 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.00814, allocations: 3.984 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.00815, allocations: 8 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008151, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008152, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.008278, allocations: 243.4 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.008287, allocations: 7.953 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.008299, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.008334, allocations: 7.984 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.008364, allocations: 11.94 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.00837, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.008448, allocations: 179.1 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008448, allocations: 0 / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.008618, allocations: 23.94 kB / 382.6 MB, free: 13.8 MB / 362.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.000911/0.009529, allocations: 425.8 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.009647, allocations: 47.59 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009649, allocations: 0 / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.009681, allocations: 35.56 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.009897, allocations: 25.64 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01026, allocations: 245.7 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.0103, allocations: 76.03 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01035, allocations: 21.02 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.01038, allocations: 16.5 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01038, allocations: 4.062 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003422/0.0138, allocations: 1.523 MB / 385 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.0302052441984415]