Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002989/0.002989, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 43.94 kB / 374.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003615/0.1171, allocations: 1.778 MB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1186, allocations: 0.6895 MB / 430 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1188, allocations: 11.88 kB / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.119, allocations: 19.8 kB / 430 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.1193, allocations: 43.7 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1198, allocations: 131.6 kB / 430.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.12, allocations: 151.7 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1202, allocations: 25.53 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1204, allocations: 83.69 kB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1206, allocations: 115.6 kB / 430.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1206, allocations: 12 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1207, allocations: 19.98 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.1208, allocations: 63.83 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.1209, allocations: 91.45 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1212, allocations: 215 kB / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1212, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1212, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1212, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.1 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.0009404/0.1222, allocations: 0.5179 MB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1222, allocations: 8.031 kB / 431.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.1224, allocations: 40.73 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2417/0.3641, allocations: 241.9 kB / 431.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.3642, allocations: 18.88 kB / 431.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.3642, allocations: 16.22 kB / 431.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3656, allocations: 0.6352 MB / 432.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3657, allocations: 0 / 432.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3657, allocations: 7.875 kB / 432.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.3657, allocations: 13.12 kB / 432.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.3662, allocations: 187.5 kB / 432.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3667, allocations: 374.1 kB / 433 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.3672, allocations: 219.5 kB / 433.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3674, allocations: 146.9 kB / 433.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.3675, allocations: 5.734 kB / 433.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3675, allocations: 40.59 kB / 433.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.3675, allocations: 2.094 kB / 433.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008971/0.3684, allocations: 426.1 kB / 433.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.3685, allocations: 138.5 kB / 433.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3686, allocations: 172.4 kB / 434.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3686, allocations: 31.77 kB / 434.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.3687, allocations: 102.7 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.3688, allocations: 48.97 kB / 434.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3689, allocations: 71.39 kB / 434.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.3689, allocations: 333.8 kB / 434.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3691, allocations: 74.5 kB / 434.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.3693, allocations: 328.8 kB / 435.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3697, allocations: 415.6 kB / 435.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3697, allocations: 2.812 kB / 435.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006413/0.3704, allocations: 415.4 kB / 435.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3704, allocations: 9.031 kB / 435.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3704, allocations: 9.25 kB / 435.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/0.3705, allocations: 11.59 kB / 435.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.3707, allocations: 86.56 kB / 436 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.3708, allocations: 17.73 kB / 436 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3709, allocations: 38.03 kB / 436 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.371, allocations: 25.81 kB / 436.1 MB, free: 9.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (52): * Single equations (assignments): 52 * 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.0001967/0.3712, allocations: 174.2 kB / 436.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/0.3717, allocations: 301.6 kB / 436.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/0.3718, allocations: 37.53 kB / 436.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3718, allocations: 10.44 kB / 436.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3718, allocations: 1.219 kB / 436.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3718, allocations: 3.156 kB / 436.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.372, allocations: 246.8 kB / 436.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.372, allocations: 0 / 436.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.3724, allocations: 64.72 kB / 436.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3724, allocations: 2.406 kB / 436.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3724, allocations: 10.12 kB / 436.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3724, allocations: 3.812 kB / 436.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3724, allocations: 1.719 kB / 436.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.3731, allocations: 446.3 kB / 437.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3732, allocations: 131.6 kB / 437.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.3733, allocations: 17.19 kB / 437.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3734, allocations: 17.5 kB / 437.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3735, allocations: 2.547 kB / 437.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3735, allocations: 13.92 kB / 437.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.3736, allocations: 131.4 kB / 437.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3736, allocations: 0 / 437.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.374, allocations: 50.22 kB / 437.7 MB, free: 8.168 MB / 350.1 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.0001538/0.3742, allocations: 115 kB / 437.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.3748, allocations: 285.7 kB / 438.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3748, allocations: 0 / 438.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.3748, allocations: 7.641 kB / 438.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.3755, allocations: 212.7 kB / 438.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3769, allocations: 0.5834 MB / 438.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3772, allocations: 0.7784 MB / 439.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.3773, allocations: 26.05 kB / 439.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3773, allocations: 4 kB / 439.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Templates: time 0.007451/0.3847, allocations: 3.005 MB / 442.7 MB, free: 6.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.67303001799155]