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.001669/0.001669, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002206/0.002206, allocations: 209 kB / 23.73 MB, free: 4.523 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.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 53.37 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002967/0.2579, allocations: 1.74 MB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2591, allocations: 0.6389 MB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.2592, allocations: 11.88 kB / 433.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2593, allocations: 23.73 kB / 433.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.2595, allocations: 39.72 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.26, allocations: 138.6 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.2602, allocations: 167.6 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2603, allocations: 31.41 kB / 433.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2605, allocations: 79.69 kB / 434 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2607, allocations: 111.6 kB / 434.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.2608, allocations: 12 kB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.2608, allocations: 16 kB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.2609, allocations: 59.83 kB / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.261, allocations: 71.58 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.2613, allocations: 223 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2613, allocations: 0 / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2613, allocations: 4 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2613, allocations: 4 kB / 434.4 MB, free: 3.312 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.0008199/0.2621, allocations: 453.2 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2621, allocations: 8.031 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.2622, allocations: 54.73 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.2624, allocations: 36.73 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2627, allocations: 202 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.2627, allocations: 12.38 kB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2628, allocations: 24.36 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2638, allocations: 0.6262 MB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2639, allocations: 4 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2639, allocations: 4 kB / 435.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.2639, allocations: 19.98 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.2643, allocations: 184.5 kB / 436.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.2647, allocations: 313.5 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.2651, allocations: 219.6 kB / 436.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.2654, allocations: 142.6 kB / 436.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2654, allocations: 4 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2655, allocations: 46.5 kB / 436.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.2655, allocations: 0 / 436.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008241/0.2663, allocations: 429.8 kB / 437.2 MB, free: 400 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.2664, allocations: 134.8 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2665, allocations: 171 kB / 437.5 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2666, allocations: 29.7 kB / 437.5 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.2666, allocations: 105.1 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.2667, allocations: 47.83 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.2668, allocations: 74.08 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2669, allocations: 350.8 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2671, allocations: 68.83 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.2674, allocations: 326.7 kB / 438.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.2678, allocations: 416.9 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2678, allocations: 0 / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000589/0.2684, allocations: 413.4 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2684, allocations: 8 kB / 439.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2685, allocations: 8 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.2685, allocations: 12 kB / 439.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2687, allocations: 83.84 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.2687, allocations: 19.92 kB / 439.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.2689, allocations: 31.84 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2689, allocations: 20.38 kB / 439.5 MB, free: 13.82 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.0001711/0.2691, allocations: 194.3 kB / 439.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/0.2696, allocations: 298.4 kB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.2697, allocations: 34.64 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2697, allocations: 4 kB / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2697, allocations: 4 kB / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2697, allocations: 0 / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.2699, allocations: 196.5 kB / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2699, allocations: 0 / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.2702, allocations: 63.91 kB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2702, allocations: 8 kB / 440.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2702, allocations: 7.984 kB / 440.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.2702, allocations: 7.938 kB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2702, allocations: 0 / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.2708, allocations: 439.8 kB / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2709, allocations: 51.77 kB / 440.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.2709, allocations: 19.98 kB / 440.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2711, allocations: 12 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.2711, allocations: 7.984 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2711, allocations: 12 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2712, allocations: 135.2 kB / 440.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2712, allocations: 0 / 440.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.2716, allocations: 48 kB / 441 MB, free: 12.23 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.001266/0.2729, allocations: 1.176 MB / 442.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.2734, allocations: 282.5 kB / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2734, allocations: 0 / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.2734, allocations: 11.98 kB / 442.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.2741, allocations: 210.3 kB / 442.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.2778, allocations: 2.965 MB / 445.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2779, allocations: 165.9 kB / 445.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.278, allocations: 30.3 kB / 445.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2781, allocations: 71.41 kB / 445.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2781, allocations: 0 / 445.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.3129, allocations: 5.911 MB / 451.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.97, allocations: 2.578 kB / 451.8 MB, free: 1.227 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] 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: 13.318001020001248]