Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.0008687/0.0008687, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009097/0.0009097, allocations: 150.6 kB / 24.81 MB, free: 9.277 MB / 18.57 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 0.9805/0.9805, allocations: 173.4 MB / 201.4 MB, free: 9.176 MB / 186.7 MB " [Timeout remaining time 179] 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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.104e-05, allocations: 10.25 kB / 268.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.005423/0.005444, allocations: 1.771 MB / 270.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.006343, allocations: 0.6035 MB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.006444, allocations: 7.938 kB / 270.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.006592, allocations: 19.8 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.006771, allocations: 43.66 kB / 270.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.007081, allocations: 119.6 kB / 271 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.007251, allocations: 151.5 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.007348, allocations: 21.75 kB / 271.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.0105, allocations: 91.77 kB / 271.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.01067, allocations: 91.81 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.01069, allocations: 12 kB / 271.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.01072, allocations: 16 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.01079, allocations: 71.8 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.01084, allocations: 55.77 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.01102, allocations: 159.4 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01102, allocations: 0 / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01102, allocations: 0 / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.01103, allocations: 7.938 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005294/0.01156, allocations: 0.5191 MB / 272.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.01159, allocations: 12.03 kB / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.01165, allocations: 40.8 kB / 272.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01185, allocations: 200.1 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.01187, allocations: 16.38 kB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.01189, allocations: 16.38 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.01242, allocations: 453.7 kB / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01243, allocations: 192 / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.01244, allocations: 4.375 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.01247, allocations: 23.91 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.01259, allocations: 71.86 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.01284, allocations: 299.7 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.01304, allocations: 165.2 kB / 273.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.01314, allocations: 83.08 kB / 273.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.01316, allocations: 12 kB / 273.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01319, allocations: 37.39 kB / 273.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.01319, allocations: 0 / 273.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001075/0.01426, allocations: 257.8 kB / 273.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.01434, allocations: 139.7 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.01444, allocations: 221.8 kB / 274.2 MB, free: 136 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01445, allocations: 33.7 kB / 274.2 MB, free: 96 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.01451, allocations: 147.8 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.01454, allocations: 39.88 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.01458, allocations: 51.59 kB / 274.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.01483, allocations: 0.504 MB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.01485, allocations: 20.39 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.01492, allocations: 152.5 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01502, allocations: 175.4 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01502, allocations: 0 / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00014/0.01516, allocations: 173.3 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.01518, allocations: 10.81 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01518, allocations: 11.94 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.0152, allocations: 4 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.01528, allocations: 35.92 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01529, allocations: 4 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.01533, allocations: 19.88 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.01534, allocations: 12.41 kB / 275.6 MB, free: 14.6 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 8.699e-05/0.01543, allocations: 184.5 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.01561, allocations: 194.4 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.01565, allocations: 38.58 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01565, allocations: 8 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.01565, allocations: 0 / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01566, allocations: 3.984 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.01577, allocations: 141.1 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01577, allocations: 0 / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.01589, allocations: 55.91 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01589, allocations: 8 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.0159, allocations: 8 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.0159, allocations: 0 / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.0159, allocations: 3.938 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.664e-05/0.01599, allocations: 215.2 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.01605, allocations: 55.69 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.01608, allocations: 19.98 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.01614, allocations: 8 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.01616, allocations: 3.938 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01617, allocations: 11.98 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.01623, allocations: 163.4 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01623, allocations: 3.938 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01641, allocations: 40 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 8.271e-05/0.01649, allocations: 115.2 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01664, allocations: 130.1 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01664, allocations: 4.312 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.01665, allocations: 11.69 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01698, allocations: 144.1 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.01768, allocations: 470.6 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01774, allocations: 112.8 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.85e-05/0.01777, allocations: 18.02 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.01785, allocations: 102.2 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01785, allocations: 0 / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Templates: time 0.003978/0.02183, allocations: 2.716 MB / 280.5 MB, free: 9.547 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.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.669135774951428]