Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001057/0.001057, 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.00125/0.00125, allocations: 168.7 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.9463/0.9463, allocations: 177.1 MB / 206 MB, free: 4.477 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.1414/0.1414, allocations: 32.8 MB / 295.4 MB, free: 15.46 MB / 282.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.416e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002165/0.002189, allocations: 1.677 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.002936, allocations: 0.5608 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.00302, allocations: 3.938 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.00348, allocations: 451.1 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.003846, allocations: 299.1 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.004201, allocations: 167.5 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.004411, allocations: 179.6 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.00451, allocations: 15.98 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004616, allocations: 123.8 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.004787, allocations: 243.5 kB / 381 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.004803, allocations: 4 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.004877, allocations: 31.94 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.004949, allocations: 87.7 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.004987, allocations: 39.67 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.005173, allocations: 195.2 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005177, allocations: 4 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005178, allocations: 0 / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.005182, allocations: 0 / 381.3 MB, free: 21.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004577/0.00564, allocations: 0.7125 MB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.005674, allocations: 11.98 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.005727, allocations: 52.66 kB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.005888, allocations: 240.9 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005898, allocations: 4.375 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005916, allocations: 8.312 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.00602, allocations: 58.94 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.006031, allocations: 4.172 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.006039, allocations: 4.125 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006043, allocations: 4 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.006066, allocations: 11.92 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.00635, allocations: 336.3 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.00648, allocations: 39.05 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.006497, allocations: 11.78 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.006516, allocations: 11.86 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.006533, allocations: 41.39 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.006535, allocations: 0 / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002915/0.006826, allocations: 121.3 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.006845, allocations: 51.41 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.007118, allocations: 0.6079 MB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.007127, allocations: 29.7 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.007232, allocations: 298.7 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.007251, allocations: 11.91 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.007279, allocations: 27.34 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.007351, allocations: 0.5508 MB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.007363, allocations: 4 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.007376, allocations: 7.984 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.007407, allocations: 23.69 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007408, allocations: 0 / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.074e-05/0.007489, allocations: 101.2 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007502, allocations: 4 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007507, allocations: 4 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.007517, allocations: 0 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.007568, allocations: 12 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00757, allocations: 0 / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.007597, allocations: 7.984 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.007604, allocations: 4 kB / 384.7 MB, free: 17.92 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 5.553e-05/0.00766, allocations: 156.6 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.007691, allocations: 47.91 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.007814, allocations: 101.1 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007816, allocations: 4 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007818, allocations: 3.938 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.007821, allocations: 4 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.008051, allocations: 385.9 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008052, allocations: 0 / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.008085, allocations: 15.92 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008087, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-06/0.008092, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008093, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008095, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.564e-05/0.00818, allocations: 239.6 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.008201, allocations: 39.72 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008216, allocations: 4 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.008254, allocations: 3.984 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.008277, allocations: 4 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.00828, allocations: 0 / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.008421, allocations: 398.7 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008422, allocations: 0 / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008588, allocations: 20 kB / 386.1 MB, free: 16.46 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.0007505/0.009339, allocations: 395.9 kB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.699e-05/0.009416, allocations: 23.67 kB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009418, allocations: 0 / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.009437, allocations: 27.81 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.009676, allocations: 40.69 kB / 386.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.01022, allocations: 0.5725 MB / 387.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.01027, allocations: 127.1 kB / 387.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.506e-05/0.01031, allocations: 11.84 kB / 387.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01035, allocations: 78.2 kB / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01035, allocations: 0 / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003922/0.01427, allocations: 1.51 MB / 388.9 MB, free: 13.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.330812230706215]