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.001303/0.001303, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001324/0.001324, allocations: 141.6 kB / 24.97 MB, free: 8.895 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.9534/0.9534, allocations: 173.4 MB / 201.5 MB, free: 9.297 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.363e-06/1.363e-06, allocations: 0 / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.309e-05, allocations: 10.19 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002472/0.002505, allocations: 1.779 MB / 269.9 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.003433, allocations: 0.5997 MB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.00355, allocations: 7.875 kB / 270.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.003721, allocations: 27.78 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.003917, allocations: 35.66 kB / 270.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.004192, allocations: 127.6 kB / 270.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.004349, allocations: 143.6 kB / 270.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004461, allocations: 25.73 kB / 270.8 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.004579, allocations: 99.77 kB / 270.9 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.00475, allocations: 87.81 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.00478, allocations: 12 kB / 271 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.0048, allocations: 19.94 kB / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.004866, allocations: 63.75 kB / 271.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.004922, allocations: 55.81 kB / 271.2 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.005101, allocations: 159.4 kB / 271.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005105, allocations: 4 kB / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005105, allocations: 0 / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005109, allocations: 0 / 271.3 MB, free: 3.426 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.0006016/0.005711, allocations: 0.5309 MB / 271.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005752, allocations: 12.03 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.005817, allocations: 36.8 kB / 271.9 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.00604, allocations: 196.2 kB / 272.1 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.00607, allocations: 20.38 kB / 272.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.006094, allocations: 16.38 kB / 272.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.006683, allocations: 493.7 kB / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006692, allocations: 192 / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006706, allocations: 4.375 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.006737, allocations: 11.94 kB / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.006872, allocations: 95.84 kB / 272.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.007451, allocations: 335 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.007687, allocations: 176.8 kB / 273.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.007805, allocations: 99.11 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.007831, allocations: 8 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.007856, allocations: 49.27 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.263e-06/0.007858, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003896/0.008247, allocations: 269.9 kB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.008336, allocations: 139.7 kB / 273.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.00845, allocations: 234 kB / 274 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.008467, allocations: 33.64 kB / 274 MB, free: 480 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.00852, allocations: 147.8 kB / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.00855, allocations: 43.86 kB / 274.2 MB, free: 284 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.008603, allocations: 47.61 kB / 274.3 MB, free: 224 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.008726, allocations: 0.5001 MB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.008763, allocations: 24.45 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.008852, allocations: 152.5 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.008973, allocations: 179.4 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.008979, allocations: 8 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001741/0.009153, allocations: 185.2 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.009171, allocations: 11.94 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.009175, allocations: 0 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.009189, allocations: 8.438 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.009292, allocations: 35.92 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.009304, allocations: 11.92 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.009352, allocations: 19.89 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.009361, allocations: 8 kB / 275.4 MB, free: 14.95 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 9.897e-05/0.00946, allocations: 184.5 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.009692, allocations: 214.4 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.009738, allocations: 34.64 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.009742, allocations: 4 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009745, allocations: 0 / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.00975, allocations: 8 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.009875, allocations: 164.5 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009876, allocations: 3.938 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01001, allocations: 59.91 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01001, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01003, allocations: 15.94 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01003, allocations: 4 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01003, allocations: 3.984 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.01031, allocations: 398.9 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.01038, allocations: 55.64 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.01042, allocations: 27.92 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.01048, allocations: 12 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.01052, allocations: 7.984 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01054, allocations: 8 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.45e-05/0.0106, allocations: 167.3 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.0108, allocations: 40 kB / 276.8 MB, free: 13.49 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.346e-05/0.01088, allocations: 114.7 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.01107, allocations: 144 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01107, allocations: 0 / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.01109, allocations: 11.62 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.01148, allocations: 155 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.01231, allocations: 491.6 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.01238, allocations: 120.8 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.01241, allocations: 17.95 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01246, allocations: 20.5 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01246, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Templates: time 0.0041/0.01656, allocations: 2.581 MB / 280.4 MB, free: 9.805 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.9411164720077068]