Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001316/0.001316, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001312/0.001312, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 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.02/1.02, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1565/0.1565, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.893e-05, allocations: 3.891 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00308/0.003109, allocations: 1.643 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.004633, allocations: 1.289 MB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.00469, allocations: 0 / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.004906, allocations: 27.78 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.005184, allocations: 87.5 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.005464, allocations: 115.6 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.005609, allocations: 83.7 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.005714, allocations: 19.98 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.00579, allocations: 43.89 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005891, allocations: 23.91 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.00591, allocations: 8 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.006053, allocations: 99.81 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.006094, allocations: 15.92 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.006121, allocations: 15.94 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.006338, allocations: 147.5 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00634, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006341, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006345, allocations: 0 / 383.6 MB, free: 19.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003427/0.006688, allocations: 439.9 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.00672, allocations: 8.031 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.006761, allocations: 20.83 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.006896, allocations: 144.4 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.006904, allocations: 4.375 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.006922, allocations: 4.375 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.007049, allocations: 119.9 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.007063, allocations: 192 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.007074, allocations: 4.375 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.00708, allocations: 384 / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.007115, allocations: 15.92 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.00738, allocations: 268.3 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.994e-05/0.00745, allocations: 51.06 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.007472, allocations: 19.69 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.007488, allocations: 4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.007506, allocations: 33.39 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.007508, allocations: 0 / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.007871, allocations: 129.5 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.007895, allocations: 77.11 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.008005, allocations: 195.7 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.008014, allocations: 29.7 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.008054, allocations: 146.8 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.008076, allocations: 23.73 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.008114, allocations: 31.38 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.008176, allocations: 0.4961 MB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.008197, allocations: 7.984 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.00824, allocations: 57.06 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.008288, allocations: 32.05 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.008289, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.008393, allocations: 69.58 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008405, allocations: 4 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.00841, allocations: 4 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.008419, allocations: 4 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.008499, allocations: 19.92 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.008502, allocations: 4.031 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.008535, allocations: 4 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.008542, allocations: 4 kB / 386.1 MB, free: 16.45 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 (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 5.03e-05/0.008592, allocations: 164.5 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.008626, allocations: 11.89 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.008773, allocations: 90.69 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008775, allocations: 0 / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008777, allocations: 3.938 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.00878, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.009065, allocations: 334 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009066, allocations: 0 / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.009123, allocations: 12 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009125, allocations: 3.938 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009132, allocations: 7.984 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.009134, allocations: 0 / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009135, allocations: 0 / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.009246, allocations: 215.8 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.009261, allocations: 11.95 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.009276, allocations: 3.984 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.00934, allocations: 4 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.009362, allocations: 4 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.009369, allocations: 7.984 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.009415, allocations: 149.7 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009415, allocations: 0 / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.009675, allocations: 43.86 kB / 387.1 MB, free: 15.33 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 (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.0009438/0.01062, allocations: 0.4931 MB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.0107, allocations: 31.67 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.0107, allocations: 0 / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.01073, allocations: 31.61 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01091, allocations: 23.92 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.01113, allocations: 184.1 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.485e-05/0.01115, allocations: 67.34 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01119, allocations: 21.03 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.01124, allocations: 90.17 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01124, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.002814/0.01405, allocations: 2.161 MB / 390.2 MB, free: 12.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.495475480798632]