Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.00206/0.00206, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002119/0.002119, allocations: 169.3 kB / 24.27 MB, free: 156 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.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3386/0.3386, allocations: 32.81 MB / 293.9 MB, free: 1.215 MB / 266.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.179e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003624/0.003656, allocations: 1.661 MB / 377 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004824, allocations: 0.5298 MB / 377.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.004878, allocations: 4 kB / 377.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.005189, allocations: 103.5 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.005532, allocations: 107.6 kB / 377.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.005833, allocations: 99.62 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.006039, allocations: 99.73 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006152, allocations: 15.98 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.00627, allocations: 55.88 kB / 378 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.006393, allocations: 59.86 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.006418, allocations: 8 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.006527, allocations: 43.92 kB / 378.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.006593, allocations: 31.86 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.006638, allocations: 19.92 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.006884, allocations: 123.5 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006888, allocations: 0 / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006889, allocations: 4 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.006895, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006479/0.007543, allocations: 467.4 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00758, allocations: 11.97 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.007648, allocations: 24.83 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.007884, allocations: 160.3 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.007898, allocations: 4.375 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.007928, allocations: 8.375 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.008093, allocations: 62.22 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.008106, allocations: 192 / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.008119, allocations: 8.125 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.008124, allocations: 0 / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.008246, allocations: 35.97 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.008763, allocations: 339.6 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.008912, allocations: 78.97 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.008971, allocations: 23.67 kB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.008996, allocations: 0 / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.009036, allocations: 37.39 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.009037, allocations: 3.938 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.01008, allocations: 285.7 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.01014, allocations: 59.41 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.01043, allocations: 262.8 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01046, allocations: 29.7 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01058, allocations: 162.8 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.01064, allocations: 55.72 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.0107, allocations: 31.38 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.011, allocations: 0.5157 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.0111, allocations: 27.98 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.01118, allocations: 38.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.01135, allocations: 87.67 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01135, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002632/0.01162, allocations: 137.6 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01163, allocations: 4 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01164, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01165, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01178, allocations: 27.92 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01179, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.01183, allocations: 8 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01185, allocations: 7.938 kB / 381.2 MB, free: 14.83 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 (13): * Single equations (assignments): 13 * 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 0.0001548/0.012, allocations: 168.6 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.01205, allocations: 15.91 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.01241, allocations: 157.7 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01241, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.01242, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01242, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.01316, allocations: 484.8 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01316, allocations: 4.031 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.01325, allocations: 23.98 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.01327, allocations: 4 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01328, allocations: 3.938 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01328, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.01329, allocations: 7.938 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.01368, allocations: 291.5 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.0137, allocations: 7.953 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.01372, allocations: 3.938 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.01379, allocations: 8 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.01384, allocations: 11.98 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01385, allocations: 7.984 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.01404, allocations: 189.1 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01404, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005668/0.01461, allocations: 31.89 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.003265/0.01787, allocations: 499.9 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.01816, allocations: 91.64 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01816, allocations: 0 / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01828, allocations: 63.59 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01862, allocations: 23.98 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.0193, allocations: 300.6 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.01943, allocations: 103.9 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.0195, allocations: 20.47 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.01955, allocations: 20.5 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01955, allocations: 4 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005227/0.02477, allocations: 1.555 MB / 385.2 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.764626206946559]