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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002008/0.002008, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002518/0.002518, allocations: 218 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.2 MB / 256.7 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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 0.002732/0.002732, allocations: 63.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.355, allocations: 53.32 MB / 430.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003466/0.3584, allocations: 1.776 MB / 432 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3599, allocations: 0.6856 MB / 432.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.36, allocations: 7.938 kB / 432.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3602, allocations: 19.8 kB / 432.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3604, allocations: 39.72 kB / 432.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.3609, allocations: 131.7 kB / 432.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3611, allocations: 167.5 kB / 433 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3613, allocations: 21.55 kB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3615, allocations: 79.75 kB / 433.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.3617, allocations: 107.6 kB / 433.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3618, allocations: 12 kB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.3618, allocations: 19.98 kB / 433.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.3619, allocations: 71.75 kB / 433.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3621, allocations: 91.39 kB / 433.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.3624, allocations: 216.6 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3624, allocations: 0 / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3624, allocations: 0 / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3624, allocations: 0 / 433.6 MB, free: 4.363 MB / 334.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.001013/0.3634, allocations: 0.5102 MB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3635, allocations: 12.03 kB / 434.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.3636, allocations: 32.75 kB / 434.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.364, allocations: 267.8 kB / 434.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.364, allocations: 16.38 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3641, allocations: 16.38 kB / 434.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3652, allocations: 0.6264 MB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3652, allocations: 4 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3653, allocations: 7.984 kB / 435.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.3653, allocations: 8 kB / 435.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3657, allocations: 199.8 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.3662, allocations: 370.2 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.3667, allocations: 223.7 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.367, allocations: 142.6 kB / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.367, allocations: 7.938 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3671, allocations: 46.5 kB / 436.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.3671, allocations: 0 / 436.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009069/0.368, allocations: 421.9 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.3681, allocations: 142.7 kB / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3683, allocations: 170.3 kB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3683, allocations: 37.83 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.3684, allocations: 97.14 kB / 436.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.3685, allocations: 51.67 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.3686, allocations: 74.12 kB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3687, allocations: 334.8 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3689, allocations: 72.83 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.3693, allocations: 326.7 kB / 437.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.3698, allocations: 408.9 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3698, allocations: 8 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006358/0.3704, allocations: 405.1 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3704, allocations: 8 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3704, allocations: 12 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3705, allocations: 11.98 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3707, allocations: 84.53 kB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.3707, allocations: 19.94 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3709, allocations: 35.83 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3709, allocations: 24 kB / 438.8 MB, free: 14.69 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.0002258/0.3712, allocations: 182.3 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/0.3717, allocations: 294.4 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-05/0.3718, allocations: 42.64 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3718, allocations: 4 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3718, allocations: 0 / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3718, allocations: 4 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3721, allocations: 253.2 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3721, allocations: 3.938 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.3724, allocations: 63.91 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.3724, allocations: 4 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.3724, allocations: 7.984 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3724, allocations: 4 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3724, allocations: 0 / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.3731, allocations: 444.1 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3732, allocations: 128.9 kB / 440.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.3733, allocations: 16 kB / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3734, allocations: 19.98 kB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3735, allocations: 0 / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3735, allocations: 11.98 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3736, allocations: 136.2 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 7.938 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.374, allocations: 52 kB / 440.4 MB, free: 12.95 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.0001663/0.3742, allocations: 115.2 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.3748, allocations: 284.5 kB / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3748, allocations: 0 / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.3748, allocations: 4 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.3755, allocations: 223.5 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3769, allocations: 0.5788 MB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.3774, allocations: 0.7838 MB / 442.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.3774, allocations: 23.44 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3774, allocations: 0 / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Templates: time 0.005854/0.3833, allocations: 3.001 MB / 445.4 MB, free: 7.891 MB / 350.1 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/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_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