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.001972/0.001972, allocations: 110.2 kB / 16.92 MB, free: 5.758 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.002694/0.002694, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.612/1.612, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001032, allocations: 47.48 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1393, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003625/0.143, allocations: 1.746 MB / 351.9 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1443, allocations: 0.6077 MB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1445, allocations: 7.938 kB / 352.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1447, allocations: 19.8 kB / 352.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.145, allocations: 39.72 kB / 352.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1455, allocations: 126.7 kB / 352.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1457, allocations: 155.6 kB / 352.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1459, allocations: 37.53 kB / 352.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.146, allocations: 67.77 kB / 353 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.1463, allocations: 107.6 kB / 353.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.1463, allocations: 12 kB / 353.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.1464, allocations: 16 kB / 353.1 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.1465, allocations: 59.83 kB / 353.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1466, allocations: 87.45 kB / 353.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1469, allocations: 211.5 kB / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1469, allocations: 4 kB / 353.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1469, allocations: 0 / 353.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1469, allocations: 0 / 353.5 MB, free: 1.027 MB / 286.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.0009053/0.1478, allocations: 0.5025 MB / 354 MB, free: 488 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.1479, allocations: 15.97 kB / 354 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.042e-05/0.148, allocations: 50.73 kB / 354 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.148, allocations: 28.66 kB / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1484, allocations: 248.3 kB / 354.3 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.1484, allocations: 28.31 kB / 354.3 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1485, allocations: 16.38 kB / 354.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1496, allocations: 0.634 MB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1497, allocations: 0 / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1497, allocations: 4 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.1497, allocations: 15.98 kB / 355 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.1502, allocations: 187.8 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.1507, allocations: 370.2 kB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.1512, allocations: 243.6 kB / 355.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.1515, allocations: 158.6 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.1516, allocations: 8 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.1516, allocations: 42.5 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.1516, allocations: 0 / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008779/0.1525, allocations: 413.8 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1526, allocations: 142.8 kB / 356.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1528, allocations: 171.3 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1528, allocations: 33.7 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1529, allocations: 101.1 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.153, allocations: 47.53 kB / 356.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1531, allocations: 70.12 kB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1533, allocations: 342.8 kB / 357.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1534, allocations: 72.81 kB / 357.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1537, allocations: 326.7 kB / 357.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.1542, allocations: 405 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1542, allocations: 8 kB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00064/0.1549, allocations: 400.7 kB / 358.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1549, allocations: 8.969 kB / 358.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.1549, allocations: 8 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.155, allocations: 19.94 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1552, allocations: 87.83 kB / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.1553, allocations: 15.94 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1554, allocations: 31.75 kB / 358.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.1555, allocations: 24 kB / 358.6 MB, free: 11.31 MB / 302.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.0002136/0.1557, allocations: 191.4 kB / 358.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.1562, allocations: 293.3 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.1563, allocations: 34.66 kB / 359.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1563, allocations: 8 kB / 359.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1563, allocations: 4 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1564, allocations: 7.922 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1566, allocations: 241.3 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1566, allocations: 0 / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.1569, allocations: 71.89 kB / 359.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1569, allocations: 0 / 359.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.157, allocations: 11.94 kB / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.157, allocations: 7.984 kB / 359.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.157, allocations: 0 / 359.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.1576, allocations: 439.3 kB / 359.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1578, allocations: 128.7 kB / 360 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.1578, allocations: 19.98 kB / 360.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.158, allocations: 11.98 kB / 360.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.158, allocations: 4 kB / 360.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1581, allocations: 16 kB / 360.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1582, allocations: 128.5 kB / 360.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1582, allocations: 4 kB / 360.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1586, allocations: 48 kB / 360.3 MB, free: 9.57 MB / 302.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.0013/0.1599, allocations: 1.188 MB / 361.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.1605, allocations: 341.3 kB / 361.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1606, allocations: 0 / 361.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.1606, allocations: 4 kB / 361.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.1613, allocations: 215.4 kB / 362 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.1653, allocations: 2.942 MB / 365 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.1658, allocations: 0.7838 MB / 365.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.1659, allocations: 22.28 kB / 365.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.1661, allocations: 71.41 kB / 365.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1661, allocations: 0 / 365.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/0.3863, allocations: 4.964 MB / 370.8 MB, free: 25.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.731, allocations: 1.125 kB / 370.8 MB, free: 25.3 MB / 302.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