Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001091/0.001091, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001/0.001, allocations: 168.7 kB / 24.99 MB, free: 8.793 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2775/0.2775, allocations: 34.26 MB / 296 MB, free: 0.7852 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.128e-05, allocations: 6.25 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001979/0.002, allocations: 1.658 MB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.002742, allocations: 0.553 MB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.002802, allocations: 0 / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.003241, allocations: 451 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.003585, allocations: 299.2 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.003897, allocations: 167.5 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.00409, allocations: 171.6 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.004177, allocations: 7.984 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004278, allocations: 119.8 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.004455, allocations: 235.6 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.00447, allocations: 8 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.004529, allocations: 31.91 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.004608, allocations: 87.66 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.004647, allocations: 31.75 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.004848, allocations: 195.2 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00485, allocations: 0 / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004851, allocations: 0 / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004855, allocations: 0 / 382 MB, free: 14.98 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.0005008/0.005355, allocations: 0.6776 MB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.005389, allocations: 12.03 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.005441, allocations: 40.66 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005624, allocations: 256.8 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.005633, allocations: 384 / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.005642, allocations: 4.375 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.005744, allocations: 54.89 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005753, allocations: 192 / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005762, allocations: 4.125 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005771, allocations: 4 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.005796, allocations: 15.92 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.006153, allocations: 407.8 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.0062, allocations: 39 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.006222, allocations: 19.61 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.006239, allocations: 0 / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.006259, allocations: 41.45 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.006259, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000149/0.006408, allocations: 73.42 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.006435, allocations: 55.41 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.007909, allocations: 0.6354 MB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007921, allocations: 25.7 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.008055, allocations: 286.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.008072, allocations: 16.08 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.008098, allocations: 19.36 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.008245, allocations: 0.547 MB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.008259, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.00827, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.008302, allocations: 19.69 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008304, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.675e-05/0.008381, allocations: 81.34 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008392, allocations: 4 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.008396, allocations: 96 / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.008408, allocations: 8 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.00847, allocations: 7.938 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.008474, allocations: 0 / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.008498, allocations: 3.984 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.008503, allocations: 0 / 385.3 MB, free: 11.43 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.019e-05/0.008573, allocations: 160.6 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.008604, allocations: 43.66 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.008709, allocations: 72.75 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.008712, allocations: 7.984 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.008715, allocations: 4.031 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.008718, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.008914, allocations: 272.5 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008915, allocations: 0 / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.008933, allocations: 8 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008935, allocations: 7.875 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.008941, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.008943, allocations: 3.938 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008944, allocations: 4 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.942e-05/0.009043, allocations: 219.7 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.009066, allocations: 43.69 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.009082, allocations: 7.984 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.009117, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.009132, allocations: 7.984 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.009134, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.00937, allocations: 422.8 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00937, allocations: 0 / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.009534, allocations: 23.92 kB / 386.6 MB, free: 10.08 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.0007393/0.01027, allocations: 325.2 kB / 386.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.325e-05/0.01035, allocations: 23.61 kB / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01035, allocations: 0 / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.01036, allocations: 11.69 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.0106, allocations: 33.89 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.01117, allocations: 0.5652 MB / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.01124, allocations: 119.2 kB / 387.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.01127, allocations: 7.984 kB / 387.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.01129, allocations: 16.5 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0113, allocations: 0 / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of Templates: time 0.003431/0.01473, allocations: 1.162 MB / 388.9 MB, free: 7.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.218045622110367]