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.001867/0.001867, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002236/0.002236, allocations: 156.8 kB / 24.27 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.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.633 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 1.643e-06/1.643e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.225e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003442/0.003475, allocations: 1.767 MB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.004942, allocations: 0.6621 MB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.005044, allocations: 11.81 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.005213, allocations: 19.8 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.005433, allocations: 39.7 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.005912, allocations: 135.5 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.006139, allocations: 147.6 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.006251, allocations: 25.78 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.006465, allocations: 91.78 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.00671, allocations: 95.73 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.006754, allocations: 16 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.006822, allocations: 19.94 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.006931, allocations: 67.8 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.007018, allocations: 51.83 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.007613, allocations: 227.2 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007616, allocations: 0 / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007617, allocations: 0 / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007623, allocations: 4 kB / 275.6 MB, free: 14.42 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.0009449/0.008568, allocations: 0.5461 MB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.008611, allocations: 11.98 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.008822, allocations: 44.75 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.00917, allocations: 212.1 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.009205, allocations: 12.38 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.009236, allocations: 16.38 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.01029, allocations: 0.513 MB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.0103, allocations: 4.172 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.01033, allocations: 12.38 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.01037, allocations: 15.92 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.01072, allocations: 119.8 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.01128, allocations: 350.9 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.01176, allocations: 209.1 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.01201, allocations: 119.6 kB / 277.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.01205, allocations: 8 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.0121, allocations: 49.33 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.512e-06/0.0121, allocations: 0 / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008543/0.01296, allocations: 330.1 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.01312, allocations: 135 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01336, allocations: 233.9 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.0134, allocations: 37.7 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01352, allocations: 143.9 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.01358, allocations: 39.94 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.01366, allocations: 59.59 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.01395, allocations: 0.504 MB / 279.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.01403, allocations: 28.45 kB / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.01425, allocations: 180.4 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.01454, allocations: 211.5 kB / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01454, allocations: 3.938 kB / 279.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003483/0.01489, allocations: 205.6 kB / 279.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.01491, allocations: 16 kB / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01492, allocations: 0 / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.01494, allocations: 8 kB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.01508, allocations: 31.92 kB / 279.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.01509, allocations: 4 kB / 279.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.01517, allocations: 15.94 kB / 279.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01519, allocations: 12 kB / 280 MB, free: 9.645 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.0001742/0.01537, allocations: 184.5 kB / 280.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.01586, allocations: 253.4 kB / 280.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.01596, allocations: 34.64 kB / 280.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01597, allocations: 4 kB / 280.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01597, allocations: 0 / 280.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01597, allocations: 0 / 280.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01622, allocations: 180.4 kB / 280.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01622, allocations: 0 / 280.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.0165, allocations: 67.89 kB / 280.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01651, allocations: 4 kB / 280.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.01654, allocations: 11.94 kB / 280.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01655, allocations: 4 kB / 280.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01655, allocations: 4 kB / 280.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.01722, allocations: 447.2 kB / 281.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.01737, allocations: 51.77 kB / 281.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.01743, allocations: 23.92 kB / 281.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.01757, allocations: 11.98 kB / 281.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.0176, allocations: 0 / 281.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.01764, allocations: 15.98 kB / 281.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.01778, allocations: 168.2 kB / 281.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01778, allocations: 0 / 281.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01809, allocations: 44 kB / 281.4 MB, free: 8.082 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.0001543/0.01825, allocations: 109.7 kB / 281.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.01868, allocations: 183.4 kB / 281.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01868, allocations: 0 / 281.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.01874, allocations: 24.55 kB / 281.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.01944, allocations: 164.3 kB / 281.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.02102, allocations: 0.5026 MB / 282.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.02121, allocations: 165.7 kB / 282.6 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.02127, allocations: 13.95 kB / 282.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.02134, allocations: 28.48 kB / 282.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02134, allocations: 0 / 282.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of Templates: time 0.00725/0.02859, allocations: 2.585 MB / 285.2 MB, free: 4.281 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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.549789741053246]