Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001155/0.001155, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00123/0.00123, allocations: 167.7 kB / 24.81 MB, free: 9.27 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.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.3098/0.3098, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.618e-05, allocations: 5.125 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002586/0.002602, allocations: 1.642 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.003424, allocations: 0.5452 MB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.003479, allocations: 4 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.004012, allocations: 451.1 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.004412, allocations: 295.1 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.004728, allocations: 171.5 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.00492, allocations: 171.6 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.005001, allocations: 11.94 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.00512, allocations: 115.8 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.005339, allocations: 239.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.005357, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.005418, allocations: 27.86 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.005501, allocations: 83.66 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.005543, allocations: 43.72 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.005742, allocations: 179.2 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005744, allocations: 0 / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005744, allocations: 0 / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005748, allocations: 0 / 382.5 MB, free: 14.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007811/0.00653, allocations: 0.6893 MB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.006565, allocations: 16.02 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.006615, allocations: 44.66 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.006796, allocations: 252.7 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.006803, allocations: 384 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.006811, allocations: 4.375 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.006893, allocations: 54.95 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006901, allocations: 12.16 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.006907, allocations: 4.125 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006912, allocations: 0 / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.006929, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.007238, allocations: 328.3 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.007283, allocations: 35.05 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.007298, allocations: 11.75 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.007317, allocations: 4 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.007339, allocations: 41.33 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.00734, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000135/0.007475, allocations: 81.36 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.007498, allocations: 51.41 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.00795, allocations: 0.6078 MB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.00796, allocations: 25.7 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.008141, allocations: 306.8 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.008156, allocations: 7.953 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.008189, allocations: 23.36 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.008364, allocations: 0.5508 MB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-06/0.008373, allocations: 0 / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.008382, allocations: 4 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.008407, allocations: 15.67 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008408, allocations: 0 / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.281e-05/0.008491, allocations: 85.28 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.008503, allocations: 14.28 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008508, allocations: 0 / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.008518, allocations: 0 / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.00856, allocations: 4 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.008563, allocations: 0 / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.008593, allocations: 7.984 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.008597, allocations: 0 / 385.7 MB, free: 10.96 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 (2): * Single equations (assignments): 2 * 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.416e-05/0.008671, allocations: 156.6 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.008715, allocations: 43.66 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.008817, allocations: 84.61 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.008818, allocations: 8.031 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.008821, allocations: 3.984 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.008823, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.009012, allocations: 189.1 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009014, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.009034, allocations: 7.984 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.009035, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.009039, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.009043, allocations: 7.938 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.009045, allocations: 4 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.009159, allocations: 227.6 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.009191, allocations: 39.72 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.009207, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.00926, allocations: 3.938 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.009272, allocations: 7.938 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.009274, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000252/0.009526, allocations: 390.7 kB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009526, allocations: 0 / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.009742, allocations: 19.94 kB / 386.9 MB, free: 9.734 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 (2): * Single equations (assignments): 2 * 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.0007245/0.01047, allocations: 330.7 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.087e-05/0.01053, allocations: 15.69 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01053, allocations: 0 / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.01054, allocations: 19.67 kB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01082, allocations: 25.91 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.01142, allocations: 0.5652 MB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.901e-05/0.01151, allocations: 119.2 kB / 387.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.524e-05/0.01154, allocations: 8 kB / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.01159, allocations: 78.19 kB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01159, allocations: 0 / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of Templates: time 0.003634/0.01522, allocations: 1.237 MB / 389.3 MB, free: 7.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.175192696042359]