Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002611/0.002611, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002486/0.002486, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3578/0.3578, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.926e-05, allocations: 4.984 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00311/0.003139, allocations: 1.626 MB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.00434, allocations: 0.5409 MB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.004401, allocations: 0 / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.004724, allocations: 99.67 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.005061, allocations: 111.5 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.005371, allocations: 107.7 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.005546, allocations: 91.73 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.005637, allocations: 11.98 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.005726, allocations: 51.83 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005834, allocations: 51.94 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.005854, allocations: 4 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.005965, allocations: 47.91 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.00602, allocations: 23.86 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.006055, allocations: 15.94 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.006278, allocations: 111.5 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00628, allocations: 0 / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006281, allocations: 4 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.006285, allocations: 0 / 380.1 MB, free: 15.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006102/0.006896, allocations: 451.5 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.006929, allocations: 12.03 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.006987, allocations: 20.88 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.007201, allocations: 156.3 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.007212, allocations: 384 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.007233, allocations: 4.375 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007369, allocations: 50.23 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.007384, allocations: 4.172 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.007397, allocations: 4.375 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.007401, allocations: 384 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.007491, allocations: 27.91 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.007996, allocations: 315.7 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.008117, allocations: 47.05 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.008168, allocations: 15.69 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.008192, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.008235, allocations: 45.41 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.008236, allocations: 0 / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001161/0.009396, allocations: 205.1 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.009444, allocations: 55.41 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.009707, allocations: 261.9 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.009736, allocations: 25.7 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.009854, allocations: 166.8 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.009895, allocations: 31.73 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.009943, allocations: 23.38 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.01021, allocations: 0.504 MB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.01027, allocations: 19.98 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.01033, allocations: 20.12 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.01047, allocations: 59.81 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01047, allocations: 0 / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.01068, allocations: 97.5 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01069, allocations: 4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.0107, allocations: 4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01071, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.01081, allocations: 15.98 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01081, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.01085, allocations: 8 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.01086, allocations: 4 kB / 382.7 MB, free: 13.15 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 (8): * Single equations (assignments): 8 * 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.0001191/0.01098, allocations: 160.6 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.01102, allocations: 19.84 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.01129, allocations: 111.1 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.0113, allocations: 3.984 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0113, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.0113, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.01189, allocations: 412.9 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01189, allocations: 4.031 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.01196, allocations: 15.98 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.01196, allocations: 4 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.01197, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01197, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01197, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.01227, allocations: 259.8 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.0123, allocations: 19.84 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.01232, allocations: 4 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.01238, allocations: 3.984 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01242, allocations: 15.98 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.01243, allocations: 7.984 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.0126, allocations: 179.2 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0126, allocations: 0 / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01284, allocations: 23.88 kB / 383.9 MB, free: 11.85 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 (8): * Single equations (assignments): 8 * 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.003299/0.01614, allocations: 482.6 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.01636, allocations: 67.58 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01636, allocations: 0 / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.01645, allocations: 43.59 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.01679, allocations: 19.94 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.01732, allocations: 249.9 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01743, allocations: 108.7 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.0175, allocations: 17.02 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.01755, allocations: 20.48 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01755, allocations: 0 / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004763/0.02231, allocations: 1.414 MB / 386.3 MB, free: 9.566 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.989145001047291]