Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001158/0.001158, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002748, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001056/0.001056, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002488, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9841/0.9841, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08557/1.07, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2677/0.2677, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02564/0.2933, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.985e-05, allocations: 4.703 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002466/0.002486, allocations: 1.695 MB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.003263, allocations: 0.5678 MB / 296.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.003315, allocations: 0 / 296.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.009646, allocations: 79.7 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.009933, allocations: 99.52 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.01027, allocations: 115.7 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.01043, allocations: 87.69 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.01052, allocations: 19.92 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.01063, allocations: 66.89 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.01072, allocations: 39.89 kB / 296.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.01073, allocations: 4 kB / 296.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.01083, allocations: 51.91 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.01087, allocations: 19.92 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.0109, allocations: 11.94 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.01107, allocations: 87.62 kB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.01108, allocations: 0 / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01109, allocations: 0 / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.0111, allocations: 0 / 296.8 MB, free: 2.23 MB / 282.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.000423/0.01152, allocations: 333.1 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01156, allocations: 12.92 kB / 297.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.01159, allocations: 4.938 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.01173, allocations: 146.2 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.01174, allocations: 4.312 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.01177, allocations: 8.328 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.01187, allocations: 58.94 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.01187, allocations: 4.125 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.01188, allocations: 384 / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01189, allocations: 4.375 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.01191, allocations: 15.92 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.01215, allocations: 183 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.0122, allocations: 33.41 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.01222, allocations: 8.859 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/0.01526, allocations: 0 / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.0153, allocations: 34.72 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.0153, allocations: 0 / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006172/0.01592, allocations: 145.8 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.01595, allocations: 59.34 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01611, allocations: 185.7 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.01612, allocations: 25.7 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.01616, allocations: 100.1 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.0162, allocations: 27.75 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.01624, allocations: 25.69 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.01633, allocations: 322.8 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.01635, allocations: 4 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.01636, allocations: 8 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.01641, allocations: 31.64 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01641, allocations: 4 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.689e-05/0.0165, allocations: 57.72 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01651, allocations: 7.938 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01652, allocations: 0 / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01653, allocations: 7.969 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.01663, allocations: 16 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.01663, allocations: 0 / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.01665, allocations: 7.984 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01666, allocations: 4 kB / 298.7 MB, free: 216 kB / 282.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 6.343e-05/0.01672, allocations: 112.7 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01675, allocations: 11.94 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.01689, allocations: 87.61 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.0169, allocations: 0 / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.0169, allocations: 4 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.0169, allocations: 0 / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.01721, allocations: 251.5 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01721, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.01727, allocations: 16 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.01728, allocations: 15.89 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01728, allocations: 32 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.01729, allocations: 4 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01729, allocations: 0 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.0173, allocations: 8 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01741, allocations: 168.2 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.01742, allocations: 0 / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.01747, allocations: 4 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.0175, allocations: 3.984 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.0175, allocations: 8 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.01756, allocations: 48.14 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01756, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.01776, allocations: 27.94 kB / 299.4 MB, free: 15.39 MB / 298.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.002013/0.01977, allocations: 0.6026 MB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01992, allocations: 40.77 kB / 300.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.01993, allocations: 4 kB / 300.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.01996, allocations: 24.78 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.02024, allocations: 31.92 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.02089, allocations: 228.2 kB / 300.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.02095, allocations: 79.27 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.02102, allocations: 20.77 kB / 300.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.02109, allocations: 55.38 kB / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02109, allocations: 0 / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.004132/0.02522, allocations: 1.535 MB / 302 MB, free: 13.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.88145297113806]