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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 113.4 kB / 17.05 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 192 kB / 17.99 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2527, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003074/0.2558, allocations: 1.747 MB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2571, allocations: 0.6144 MB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2572, allocations: 7.938 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2574, allocations: 19.8 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2576, allocations: 39.72 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.258, allocations: 115.7 kB / 402.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.2582, allocations: 159.5 kB / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2584, allocations: 33.55 kB / 403 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2585, allocations: 67.81 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2587, allocations: 107.6 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2588, allocations: 12 kB / 403.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.2588, allocations: 12 kB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.2589, allocations: 75.8 kB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.259, allocations: 83.47 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.2593, allocations: 218 kB / 403.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2593, allocations: 0 / 403.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2593, allocations: 4 kB / 403.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2594, allocations: 0 / 403.5 MB, free: 5.508 MB / 318.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.0009228/0.2603, allocations: 0.5101 MB / 404 MB, free: 4.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2603, allocations: 15.83 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.2604, allocations: 54.73 kB / 404.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.2605, allocations: 24.8 kB / 404.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.2608, allocations: 263.9 kB / 404.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2608, allocations: 16.36 kB / 404.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.2609, allocations: 12.38 kB / 404.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.262, allocations: 0.6342 MB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.262, allocations: 0 / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.262, allocations: 8 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.2621, allocations: 16 kB / 405.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.2625, allocations: 183.8 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.263, allocations: 366.4 kB / 405.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.2634, allocations: 243.6 kB / 405.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.2637, allocations: 158.6 kB / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2638, allocations: 4.5 kB / 406 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2638, allocations: 46.44 kB / 406.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.2638, allocations: 0 / 406.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008666/0.2647, allocations: 421.3 kB / 406.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.2648, allocations: 144.1 kB / 406.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.265, allocations: 170.4 kB / 406.8 MB, free: 2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.265, allocations: 33.7 kB / 406.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.2651, allocations: 101.1 kB / 406.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2651, allocations: 47.86 kB / 407 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.2653, allocations: 74.12 kB / 407 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2654, allocations: 338.8 kB / 407.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2656, allocations: 76.83 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.2659, allocations: 318.7 kB / 407.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.2664, allocations: 413 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.2664, allocations: 8 kB / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006219/0.2671, allocations: 405.7 kB / 408.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2671, allocations: 8 kB / 408.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2671, allocations: 12 kB / 408.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.2672, allocations: 16.05 kB / 408.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2674, allocations: 83.84 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.2675, allocations: 19.92 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.2676, allocations: 31.81 kB / 408.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.2677, allocations: 24 kB / 408.7 MB, free: 15.76 MB / 334.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.0002407/0.2679, allocations: 182.2 kB / 408.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005247/0.2684, allocations: 293.4 kB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.2685, allocations: 42.62 kB / 409.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2685, allocations: 8 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2686, allocations: 3.938 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2686, allocations: 0 / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2689, allocations: 249.3 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2689, allocations: 0 / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.2691, allocations: 67.84 kB / 409.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2691, allocations: 4 kB / 409.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2692, allocations: 11.98 kB / 409.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.2692, allocations: 7.938 kB / 409.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2692, allocations: 4 kB / 409.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.2698, allocations: 435.8 kB / 410 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.27, allocations: 136.8 kB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.2701, allocations: 16 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2702, allocations: 11.98 kB / 410.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2703, allocations: 8 kB / 410.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.2703, allocations: 15.98 kB / 410.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2704, allocations: 132.5 kB / 410.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2704, allocations: 0 / 410.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.2708, allocations: 48 kB / 410.4 MB, free: 14.02 MB / 334.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.001332/0.2721, allocations: 1.19 MB / 411.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.2727, allocations: 289 kB / 411.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2727, allocations: 0 / 411.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.2727, allocations: 4 kB / 411.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.2734, allocations: 219.1 kB / 412.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.2777, allocations: 2.958 MB / 415 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.2781, allocations: 0.78 MB / 415.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.2782, allocations: 22.3 kB / 415.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2783, allocations: 71.41 kB / 415.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2784, allocations: 0 / 415.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.3058, allocations: 5.052 MB / 421 MB, free: 3.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.332, allocations: 4.688 kB / 421 MB, free: 3.168 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.4e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches