Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 168.5 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 51.59 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09673, allocations: 53.33 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003549/0.1003, allocations: 1.742 MB / 380.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1015, allocations: 0.5804 MB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1016, allocations: 3.938 kB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.1017, allocations: 11.88 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1018, allocations: 15.8 kB / 381.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1023, allocations: 99.7 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1025, allocations: 95.7 kB / 381.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1026, allocations: 33.48 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1027, allocations: 51.78 kB / 381.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.1028, allocations: 43.77 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1028, allocations: 8 kB / 381.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.1029, allocations: 8 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.103, allocations: 35.84 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.103, allocations: 35.73 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1032, allocations: 111.5 kB / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1032, allocations: 0 / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1032, allocations: 0 / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1032, allocations: 0 / 381.8 MB, free: 12.8 MB / 350.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.0006256/0.1039, allocations: 357.7 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1039, allocations: 11.97 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.1041, allocations: 32.83 kB / 382.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1044, allocations: 162.8 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1044, allocations: 8.375 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1044, allocations: 12.38 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.105, allocations: 269.9 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.105, allocations: 0 / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.105, allocations: 4 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.105, allocations: 8 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1052, allocations: 47.91 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1055, allocations: 238.2 kB / 382.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1058, allocations: 135.8 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1059, allocations: 62.62 kB / 383.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1059, allocations: 7.984 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1059, allocations: 38.56 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1059, allocations: 0 / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004246/0.1064, allocations: 173.6 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.1065, allocations: 123.1 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1066, allocations: 154.2 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1066, allocations: 33.64 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1067, allocations: 96.12 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1067, allocations: 15.91 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1068, allocations: 37.7 kB / 383.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1069, allocations: 326.8 kB / 384.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.107, allocations: 31.92 kB / 384.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1072, allocations: 132.6 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1074, allocations: 178.3 kB / 384.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1074, allocations: 0 / 384.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003061/0.1077, allocations: 181.2 kB / 384.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1077, allocations: 8 kB / 384.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1077, allocations: 4 kB / 384.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1078, allocations: 4 kB / 384.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1079, allocations: 36.45 kB / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1079, allocations: 4 kB / 384.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.108, allocations: 19.88 kB / 384.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.108, allocations: 19.94 kB / 384.7 MB, free: 9.566 MB / 350.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.0001194/0.1081, allocations: 129.8 kB / 384.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.1083, allocations: 117.9 kB / 384.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1084, allocations: 16.78 kB / 384.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1084, allocations: 4 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1084, allocations: 0 / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1084, allocations: 3.984 kB / 384.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1086, allocations: 141.1 kB / 385.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1086, allocations: 4 kB / 385.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1087, allocations: 27.92 kB / 385.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1087, allocations: 0 / 385.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1087, allocations: 8 kB / 385.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1088, allocations: 0 / 385.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1088, allocations: 0 / 385.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1091, allocations: 260.9 kB / 385.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.1092, allocations: 23.89 kB / 385.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1092, allocations: 8 kB / 385.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.1093, allocations: 4 kB / 385.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1093, allocations: 12.08 kB / 385.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1093, allocations: 7.938 kB / 385.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.1094, allocations: 120.1 kB / 385.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1094, allocations: 0 / 385.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1097, allocations: 20 kB / 385.6 MB, free: 8.605 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.0001264/0.1098, allocations: 107.1 kB / 385.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1101, allocations: 112.4 kB / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1101, allocations: 3.938 kB / 385.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.1102, allocations: 15.98 kB / 385.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.1106, allocations: 75.72 kB / 385.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.1112, allocations: 265.9 kB / 386.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1113, allocations: 114.7 kB / 386.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1114, allocations: 9.484 kB / 386.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.1114, allocations: 20.48 kB / 386.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1114, allocations: 3.938 kB / 386.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Templates: time 0.004401/0.1158, allocations: 1.325 MB / 387.6 MB, free: 6.531 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.247955128084868]