Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001063/0.001063, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001127/0.001127, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.8926/0.8926, allocations: 177.1 MB / 206 MB, free: 4.488 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.138/0.138, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.045e-05, allocations: 10.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001766/0.001786, allocations: 1.618 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.002729, allocations: 1.282 MB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.002786, allocations: 7.938 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.002979, allocations: 23.8 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.003196, allocations: 91.55 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.003388, allocations: 103.7 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003502, allocations: 75.75 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003603, allocations: 11.8 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.003654, allocations: 35.91 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.003736, allocations: 23.91 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003749, allocations: 4 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.003852, allocations: 99.81 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.003886, allocations: 19.86 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.003904, allocations: 8 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.004053, allocations: 139.5 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004055, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004056, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00406, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.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.0002761/0.004336, allocations: 428 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.004366, allocations: 8.031 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.004395, allocations: 8.891 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.004496, allocations: 140.5 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.004503, allocations: 4.375 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004518, allocations: 4.375 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.004613, allocations: 104 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004622, allocations: 192 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.004629, allocations: 4.125 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004633, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.004653, allocations: 15.92 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.004831, allocations: 252.4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.004935, allocations: 43.05 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.004947, allocations: 15.69 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.004959, allocations: 4.078 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.004974, allocations: 41.27 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004974, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000233/0.005207, allocations: 85.56 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.005228, allocations: 81.11 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.005298, allocations: 204 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.005303, allocations: 25.7 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.005329, allocations: 138.8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.005344, allocations: 19.84 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.005368, allocations: 31.36 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.005406, allocations: 496.1 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.005416, allocations: 7.984 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.005436, allocations: 45.08 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.005461, allocations: 23.69 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005462, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.739e-05/0.005529, allocations: 65.7 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.00554, allocations: 8 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.005543, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.005551, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.00559, allocations: 11.98 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.005592, allocations: 4.031 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.005612, allocations: 8 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005615, allocations: 0 / 385.1 MB, free: 17.32 MB / 314.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 3.663e-05/0.005652, allocations: 156.6 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.005673, allocations: 11.89 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.005752, allocations: 74.06 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005754, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.005756, allocations: 7.938 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005759, allocations: 0 / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.005919, allocations: 298 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00592, allocations: 4 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.005946, allocations: 12 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005948, allocations: 3.984 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005952, allocations: 3.938 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005953, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005953, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.91e-05/0.006012, allocations: 203.8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.00602, allocations: 7.953 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.006031, allocations: 4.25 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.006065, allocations: 8 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.006084, allocations: 7.984 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.006088, allocations: 4 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.135e-05/0.006119, allocations: 140.9 kB / 386 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006119, allocations: 4 kB / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.006302, allocations: 39.86 kB / 386.1 MB, free: 16.29 MB / 314.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.0008793/0.007181, allocations: 0.4931 MB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.007254, allocations: 31.61 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007255, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.007271, allocations: 15.69 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.007469, allocations: 30.75 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.007682, allocations: 155.8 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.043e-05/0.007702, allocations: 67.2 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.007737, allocations: 20.23 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.007787, allocations: 86.19 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007788, allocations: 0 / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.003033/0.01082, allocations: 2.046 MB / 389 MB, free: 13.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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: 2.9748746282421052]