Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 119.4 kB / 18.41 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002333/0.002332, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.1011, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003151/0.1043, allocations: 1.738 MB / 409.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1054, allocations: 0.5376 MB / 410.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.1055, allocations: 7.938 kB / 410.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.412e-05/0.1055, allocations: 11.86 kB / 410.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1057, allocations: 15.86 kB / 410.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1062, allocations: 95.7 kB / 410.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1063, allocations: 91.7 kB / 410.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1065, allocations: 29.11 kB / 410.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.1066, allocations: 43.83 kB / 410.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.1067, allocations: 43.78 kB / 410.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1067, allocations: 4 kB / 410.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.1067, allocations: 11.94 kB / 410.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.1068, allocations: 27.91 kB / 410.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.1069, allocations: 47.67 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.107, allocations: 111.4 kB / 410.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1071, allocations: 0 / 410.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1071, allocations: 0 / 410.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1071, allocations: 0 / 410.9 MB, free: 4.016 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006121/0.1077, allocations: 438.7 kB / 411.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1077, allocations: 11.89 kB / 411.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1078, allocations: 16.84 kB / 411.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1081, allocations: 224.1 kB / 411.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1081, allocations: 8.375 kB / 411.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1082, allocations: 8.375 kB / 411.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1087, allocations: 268.9 kB / 411.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1087, allocations: 0 / 411.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1087, allocations: 4 kB / 411.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1087, allocations: 3.984 kB / 411.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1089, allocations: 55.91 kB / 411.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1093, allocations: 310.5 kB / 412.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1096, allocations: 135.7 kB / 412.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1097, allocations: 78.73 kB / 412.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1097, allocations: 4 kB / 412.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1098, allocations: 34.56 kB / 412.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.1098, allocations: 0 / 412.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004462/0.1102, allocations: 189.5 kB / 412.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.1103, allocations: 110.8 kB / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1105, allocations: 155.9 kB / 412.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1105, allocations: 25.7 kB / 413 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1106, allocations: 96.12 kB / 413 MB, free: 1.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1106, allocations: 23.83 kB / 413.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1107, allocations: 33.72 kB / 413.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1109, allocations: 330.9 kB / 413.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.1109, allocations: 27.92 kB / 413.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1111, allocations: 131.9 kB / 413.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1113, allocations: 174.3 kB / 413.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1113, allocations: 0 / 413.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002974/0.1116, allocations: 181.3 kB / 413.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1117, allocations: 8 kB / 413.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1117, allocations: 4 kB / 413.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1117, allocations: 4 kB / 413.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1118, allocations: 31.92 kB / 414 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1119, allocations: 7.938 kB / 414 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.1119, allocations: 24.34 kB / 414 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.112, allocations: 12 kB / 414 MB, free: 0.5312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001199/0.1121, allocations: 137.7 kB / 414.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.1123, allocations: 113.6 kB / 414.3 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.1124, allocations: 16.72 kB / 414.3 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1124, allocations: 4 kB / 414.3 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1124, allocations: 3.984 kB / 414.3 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1124, allocations: 4.406 kB / 414.3 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1126, allocations: 193.6 kB / 414.5 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.1126, allocations: 7.984 kB / 414.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1128, allocations: 27.92 kB / 414.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1128, allocations: 4 kB / 414.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1128, allocations: 7.938 kB / 414.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1128, allocations: 4 kB / 414.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1128, allocations: 0 / 414.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.1131, allocations: 259.2 kB / 414.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.1132, allocations: 108.9 kB / 414.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1133, allocations: 8 kB / 414.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1134, allocations: 4 kB / 414.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1134, allocations: 11.86 kB / 414.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1134, allocations: 12 kB / 414.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.1135, allocations: 118.4 kB / 415 MB, free: 15.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.315e-06/0.1135, allocations: 0 / 415 MB, free: 15.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1138, allocations: 23.94 kB / 415.1 MB, free: 15.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001387/0.114, allocations: 111.2 kB / 415.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.1143, allocations: 111.8 kB / 415.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1143, allocations: 1.062 kB / 415.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.1143, allocations: 7.984 kB / 415.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.1148, allocations: 81.03 kB / 415.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1153, allocations: 295.2 kB / 415.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1157, allocations: 0.7201 MB / 416.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.1158, allocations: 19.44 kB / 416.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1158, allocations: 4 kB / 416.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.003422/0.1192, allocations: 1.479 MB / 417.9 MB, free: 12.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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: 7.323416925035417]