Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.001614/0.001614, allocations: 96.27 kB / 20.96 MB, free: 3.449 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.001817/0.001817, allocations: 152.9 kB / 24.26 MB, free: 156 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.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.24e-06, allocations: 4 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.864e-05, allocations: 5.125 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.005187/0.005225, allocations: 1.743 MB / 274 MB, free: 44 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.007374, allocations: 0.6465 MB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.007549, allocations: 11.88 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.007808, allocations: 27.72 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.008127, allocations: 35.72 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.008895, allocations: 135.6 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.009272, allocations: 155.5 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.009463, allocations: 17.81 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.009822, allocations: 95.77 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.01018, allocations: 91.75 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.01024, allocations: 16 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.01036, allocations: 19.94 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.01051, allocations: 71.78 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.01065, allocations: 51.83 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.01122, allocations: 223.2 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01122, allocations: 4 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01122, allocations: 0 / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.01123, allocations: 0 / 275.5 MB, free: 14.45 MB / 266.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.001611/0.01284, allocations: 445.3 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.0129, allocations: 11.98 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.01329, allocations: 52.73 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.01388, allocations: 205.3 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.01394, allocations: 12.38 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.01401, allocations: 16.38 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.01629, allocations: 0.6241 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.01631, allocations: 4.188 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.01635, allocations: 4.375 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.0164, allocations: 19.94 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.01721, allocations: 179.8 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.01796, allocations: 278 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.01889, allocations: 227.6 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.01947, allocations: 143.1 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.01954, allocations: 8 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.617e-05/0.01961, allocations: 50.5 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 3.727e-06/0.01962, allocations: 0 / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001737/0.02135, allocations: 434.1 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.0216, allocations: 143 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.02193, allocations: 174.4 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.022, allocations: 33.7 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.02211, allocations: 93.14 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.0222, allocations: 39.78 kB / 278.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02232, allocations: 37.95 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.02262, allocations: 334.9 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.02282, allocations: 48.44 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.02316, allocations: 140.9 kB / 279.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.0237, allocations: 191.8 kB / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.02371, allocations: 0 / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007969/0.02451, allocations: 241.1 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.02454, allocations: 11.94 kB / 279.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.02456, allocations: 4 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.02459, allocations: 4 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.02487, allocations: 31.92 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.02489, allocations: 7.984 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.02508, allocations: 16.38 kB / 279.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.02511, allocations: 16 kB / 279.7 MB, free: 9.93 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 0.0003105/0.02542, allocations: 153.8 kB / 279.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.02647, allocations: 309.3 kB / 280.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.0266, allocations: 38.64 kB / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.02661, allocations: 4 kB / 280.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.02662, allocations: 0 / 280.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.02663, allocations: 4 kB / 280.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.02701, allocations: 153.1 kB / 280.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.02703, allocations: 3.984 kB / 280.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.02755, allocations: 67.91 kB / 280.5 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.02756, allocations: 4 kB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.0276, allocations: 7.938 kB / 280.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.02761, allocations: 7.984 kB / 280.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02762, allocations: 0 / 280.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.02893, allocations: 453.1 kB / 280.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.02914, allocations: 51.77 kB / 281 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.02926, allocations: 27.92 kB / 281 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.02953, allocations: 8 kB / 281 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.0296, allocations: 4 kB / 281 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.02965, allocations: 19.98 kB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.02985, allocations: 127.2 kB / 281.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02985, allocations: 0 / 281.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005949/0.03045, allocations: 40 kB / 281.2 MB, free: 8.406 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 0.0002444/0.03069, allocations: 111.2 kB / 281.3 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.03151, allocations: 220.2 kB / 281.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03151, allocations: 3.938 kB / 281.5 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.03159, allocations: 7.984 kB / 281.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.0329, allocations: 208.3 kB / 281.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.03524, allocations: 0.5499 MB / 282.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.03558, allocations: 178 kB / 282.5 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.03566, allocations: 13.95 kB / 282.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.03578, allocations: 24.48 kB / 282.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03578, allocations: 0 / 282.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of Templates: time 0.01161/0.04739, allocations: 2.593 MB / 285.1 MB, free: 4.492 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.594969548983499]