Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009867/0.0009867, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009513/0.0009513, allocations: 161 kB / 24.56 MB, free: 20 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.293 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.2572/0.2572, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.596e-05, allocations: 2.312 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002919/0.002945, allocations: 1.696 MB / 379.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00414, allocations: 0.5686 MB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.004216, allocations: 0 / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.00481, allocations: 455.1 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.005314, allocations: 299.1 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.00578, allocations: 167.5 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.006066, allocations: 179.6 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.006168, allocations: 15.98 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.006314, allocations: 123.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.006565, allocations: 247.5 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.006589, allocations: 4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.006682, allocations: 31.92 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.006783, allocations: 83.72 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.006833, allocations: 39.73 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.007112, allocations: 199.2 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.007115, allocations: 4 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007116, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.007123, allocations: 3.938 kB / 382.1 MB, free: 14.55 MB / 362.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.0007113/0.007834, allocations: 0.6931 MB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.007877, allocations: 8.031 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.007949, allocations: 48.66 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.008183, allocations: 248.9 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.008194, allocations: 384 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.008222, allocations: 4.375 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.008351, allocations: 58.94 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.008361, allocations: 4.188 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.008373, allocations: 4.125 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.008382, allocations: 7.922 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.008421, allocations: 11.98 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.008881, allocations: 427.6 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.009043, allocations: 54.86 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.009063, allocations: 7.688 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009082, allocations: 4 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.009102, allocations: 33.39 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.009103, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003764/0.009479, allocations: 200.7 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.009509, allocations: 51.41 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.009912, allocations: 0.6316 MB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.009922, allocations: 25.7 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01007, allocations: 282.8 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.01009, allocations: 19.8 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.01013, allocations: 23.38 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01029, allocations: 0.5547 MB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.01031, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.01033, allocations: 8.062 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.01037, allocations: 35.61 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01038, allocations: 3.938 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.01048, allocations: 89.42 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01049, allocations: 4 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.0105, allocations: 4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01052, allocations: 3.984 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/0.01056, allocations: 8 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01057, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.01059, allocations: 4 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.0106, allocations: 0 / 385.7 MB, free: 10.81 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 (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 8.433e-05/0.01068, allocations: 168.5 kB / 385.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.01072, allocations: 43.72 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01085, allocations: 101.2 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01085, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01086, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01086, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.0112, allocations: 473.4 kB / 386.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0112, allocations: 3.938 kB / 386.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.01123, allocations: 12.3 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01123, allocations: 0 / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.01124, allocations: 8 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01124, allocations: 3.938 kB / 386.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01125, allocations: 4 kB / 386.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.01137, allocations: 243.6 kB / 386.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.0114, allocations: 35.67 kB / 386.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.01141, allocations: 0 / 386.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.01146, allocations: 11.98 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.01148, allocations: 0 / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.01149, allocations: 4 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.01174, allocations: 426.8 kB / 387.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 3.938 kB / 387.2 MB, free: 9.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.01191, allocations: 28 kB / 387.2 MB, free: 9.191 MB / 362.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.0008064/0.01272, allocations: 380.3 kB / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.01281, allocations: 35.67 kB / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01281, allocations: 0 / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.01284, allocations: 27.61 kB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01308, allocations: 32.7 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.0137, allocations: 0.5771 MB / 388.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.276e-05/0.01377, allocations: 123.2 kB / 388.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.01381, allocations: 15.97 kB / 388.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.01383, allocations: 12.5 kB / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01383, allocations: 4 kB / 388.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of Templates: time 0.003711/0.01755, allocations: 1.377 MB / 389.8 MB, free: 6.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.23110348591581]