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.0009146/0.0009146, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00549/0.00549, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 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 0.8905/0.8905, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.393e-06/1.393e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.401e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001995/0.002019, allocations: 1.755 MB / 327.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.002848, allocations: 0.6465 MB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.00293, allocations: 11.88 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003053, allocations: 15.8 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.003231, allocations: 43.72 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.003535, allocations: 139.5 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.003679, allocations: 147.6 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.003773, allocations: 17.8 kB / 328.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.003912, allocations: 107.6 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.00406, allocations: 87.81 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.004083, allocations: 12 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.004121, allocations: 19.98 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.00418, allocations: 71.81 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.004226, allocations: 51.83 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.004431, allocations: 223.2 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004434, allocations: 4 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004434, allocations: 0 / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004438, allocations: 3.938 kB / 329.1 MB, free: 11.99 MB / 298.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.0005016/0.00494, allocations: 441.3 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.004971, allocations: 15.98 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.005071, allocations: 40.73 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.005256, allocations: 193.3 kB / 329.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.005278, allocations: 16.38 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.005297, allocations: 24.36 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.005931, allocations: 0.6276 MB / 330.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00594, allocations: 8.125 kB / 330.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.005953, allocations: 4.375 kB / 330.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.005973, allocations: 15.92 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.0062, allocations: 179.8 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.006453, allocations: 278 kB / 331 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.006709, allocations: 227.7 kB / 331.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.006858, allocations: 142.6 kB / 331.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.00688, allocations: 4 kB / 331.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.006902, allocations: 42.5 kB / 331.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.233e-06/0.006903, allocations: 0 / 331.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004968/0.0074, allocations: 421.7 kB / 331.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.007473, allocations: 142.9 kB / 331.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.00757, allocations: 174.4 kB / 332.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.007587, allocations: 33.77 kB / 332.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.007626, allocations: 105.1 kB / 332.2 MB, free: 8.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.007652, allocations: 39.72 kB / 332.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.007695, allocations: 41.94 kB / 332.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.007772, allocations: 330.8 kB / 332.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.007827, allocations: 48.44 kB / 332.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.007918, allocations: 144.9 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.00806, allocations: 179.8 kB / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008062, allocations: 0 / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001921/0.008254, allocations: 229.2 kB / 333.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008267, allocations: 11.94 kB / 333.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008271, allocations: 320 / 333.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.008282, allocations: 8.438 kB / 333.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.00836, allocations: 39.91 kB / 333.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008366, allocations: 7.938 kB / 333.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.008408, allocations: 12 kB / 333.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.00842, allocations: 15.98 kB / 333.3 MB, free: 7.508 MB / 298.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 9.8e-05/0.008518, allocations: 157.7 kB / 333.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.008802, allocations: 302.3 kB / 333.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.008845, allocations: 34.64 kB / 333.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008849, allocations: 4 kB / 333.8 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.008855, allocations: 8 kB / 333.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.00886, allocations: 3.984 kB / 333.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.008982, allocations: 153.1 kB / 333.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008983, allocations: 0 / 333.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.00911, allocations: 67.91 kB / 334 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.009113, allocations: 4 kB / 334 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.009128, allocations: 15.92 kB / 334 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.009129, allocations: 0 / 334 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00913, allocations: 0 / 334 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.009482, allocations: 444.7 kB / 334.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.00955, allocations: 59.77 kB / 334.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.009582, allocations: 23.92 kB / 334.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.009647, allocations: 11.98 kB / 334.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.009672, allocations: 4 kB / 334.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.009685, allocations: 12 kB / 334.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.133e-05/0.009746, allocations: 131.2 kB / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009746, allocations: 0 / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.009937, allocations: 40 kB / 334.7 MB, free: 5.988 MB / 298.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 9.449e-05/0.01003, allocations: 118.6 kB / 334.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01028, allocations: 203.8 kB / 335.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01028, allocations: 0 / 335.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.0103, allocations: 15.86 kB / 335.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.01071, allocations: 204.9 kB / 335.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.01144, allocations: 0.5727 MB / 335.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01155, allocations: 169.9 kB / 336 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.01159, allocations: 24.5 kB / 336 MB, free: 4.629 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0116, allocations: 0 / 336 MB, free: 4.629 MB / 298.7 MB Notification: Performance of Templates: time 0.002854/0.01445, allocations: 2.799 MB / 338.8 MB, free: 1.852 MB / 298.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.503844561055303]