Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.00244/0.00244, 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.002826/0.002826, allocations: 156.8 kB / 24.27 MB, free: 152 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.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.613 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.3608/0.3608, allocations: 34.26 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.222e-05, allocations: 4.562 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003273/0.003305, allocations: 1.607 MB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.005342, allocations: 1.258 MB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.005398, allocations: 4 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.005634, allocations: 15.97 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.005959, allocations: 87.38 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.006217, allocations: 95.62 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.006385, allocations: 67.78 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.006471, allocations: 8 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.006555, allocations: 43.83 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.006674, allocations: 19.98 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.006697, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.006871, allocations: 87.81 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.006928, allocations: 19.97 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.006961, allocations: 11.94 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.007261, allocations: 143.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007265, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007265, allocations: 4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.007269, allocations: 4 kB / 380.7 MB, free: 15.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005748/0.007844, allocations: 427.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.007883, allocations: 12.02 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.007936, allocations: 8.891 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.008152, allocations: 140.5 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.008161, allocations: 384 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.008181, allocations: 8.312 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.008373, allocations: 99.31 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.008384, allocations: 192 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.008393, allocations: 384 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.008397, allocations: 384 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.606e-05/0.008483, allocations: 27.92 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.008999, allocations: 283.7 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.009228, allocations: 50.98 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.00928, allocations: 23.69 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.009297, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.00933, allocations: 33.39 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.009331, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005317/0.009863, allocations: 137.4 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.009927, allocations: 85.11 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.01014, allocations: 208.9 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01016, allocations: 25.7 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.01026, allocations: 142.9 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.01028, allocations: 15.91 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.01033, allocations: 27.36 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.01059, allocations: 0.4884 MB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.01065, allocations: 15.92 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.01074, allocations: 65.06 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01085, allocations: 43.7 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01085, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001863/0.01104, allocations: 73.58 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01105, allocations: 8 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.01106, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01107, allocations: 3.984 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.01113, allocations: 15.94 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01114, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.01118, allocations: 7.938 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.01119, allocations: 4 kB / 383.1 MB, free: 12.72 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 (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 0.00012/0.01131, allocations: 164.6 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.01135, allocations: 11.89 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.01157, allocations: 86.34 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01158, allocations: 4 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01158, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01158, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.01207, allocations: 353.3 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01207, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.01212, allocations: 15.98 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01213, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.01214, allocations: 7.938 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01214, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01214, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.0124, allocations: 227.8 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.01243, allocations: 12.23 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.01244, allocations: 0 / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.01251, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.01255, allocations: 3.984 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01256, allocations: 11.98 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.01268, allocations: 155.2 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01268, allocations: 0 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.01298, allocations: 39.86 kB / 384.2 MB, free: 11.57 MB / 362.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.003284/0.01627, allocations: 0.5072 MB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.01649, allocations: 55.61 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01649, allocations: 0 / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.01657, allocations: 27.67 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.01691, allocations: 27.92 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.01739, allocations: 185.9 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.01748, allocations: 71.33 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.01754, allocations: 15.97 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.01759, allocations: 24.48 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01759, allocations: 0 / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005619/0.02321, allocations: 1.814 MB / 386.9 MB, free: 8.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.92847292101942]