Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0009697/0.0009697, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009913/0.0009913, allocations: 160.5 kB / 24.55 MB, free: 20 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.053/1.053, allocations: 177 MB / 204.8 MB, free: 5.566 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.2683/0.2683, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.461e-05, allocations: 4.281 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002888/0.002922, allocations: 1.638 MB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004401, allocations: 1.281 MB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.004456, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.00467, allocations: 19.86 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.004961, allocations: 91.48 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.005189, allocations: 91.64 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.005333, allocations: 71.77 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.005425, allocations: 11.86 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.005491, allocations: 35.89 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.005586, allocations: 23.92 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.005604, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.005755, allocations: 91.81 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.005807, allocations: 19.91 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.005839, allocations: 8 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.006071, allocations: 135.5 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006075, allocations: 4 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006076, allocations: 4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006081, allocations: 0 / 382.3 MB, free: 14.54 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.0004722/0.006553, allocations: 424 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.006595, allocations: 8.031 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.006641, allocations: 12.89 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.006804, allocations: 136.5 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.006812, allocations: 4.312 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.006839, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.006984, allocations: 108 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006993, allocations: 192 / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.007003, allocations: 4.375 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.007011, allocations: 4.375 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.007051, allocations: 19.91 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.007341, allocations: 267.8 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.007504, allocations: 43 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.00753, allocations: 19.77 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.00755, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.007576, allocations: 41.39 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.007577, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003613/0.007938, allocations: 101.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.007978, allocations: 81.11 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.008127, allocations: 197.9 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.00814, allocations: 29.7 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.008194, allocations: 138.9 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.008217, allocations: 19.78 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.008254, allocations: 23.38 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008376, allocations: 0.4923 MB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.008394, allocations: 4 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.008432, allocations: 49.08 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.008477, allocations: 31.61 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008478, allocations: 4.031 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.888e-05/0.008567, allocations: 53.64 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.00858, allocations: 7.984 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.008584, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.008599, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.008652, allocations: 12.25 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.008657, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.008684, allocations: 11.95 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.008693, allocations: 7.984 kB / 384.6 MB, free: 11.97 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 6.504e-05/0.008758, allocations: 152.6 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.008789, allocations: 23.83 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.008916, allocations: 66.09 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008919, allocations: 3.984 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008922, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008925, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.00921, allocations: 329.3 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009212, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.009253, allocations: 8 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009256, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.009263, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.009266, allocations: 8 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009267, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009393, allocations: 211.8 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.009405, allocations: 7.953 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.009418, allocations: 0 / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.009468, allocations: 0 / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.009503, allocations: 11.98 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.009507, allocations: 3.938 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.009588, allocations: 149.5 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009588, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.00986, allocations: 39.86 kB / 385.6 MB, free: 10.9 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.001198/0.01106, allocations: 493.6 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01116, allocations: 27.67 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01116, allocations: 0 / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.01119, allocations: 19.62 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01146, allocations: 30.89 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.0118, allocations: 169.9 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.01185, allocations: 59.34 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.01189, allocations: 8 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.01193, allocations: 16.48 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01193, allocations: 0 / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00412/0.01605, allocations: 1.834 MB / 388.3 MB, free: 8.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.4513387782499194]