Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",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.002644/0.002644, allocations: 107.8 kB / 16.92 MB, free: 6.188 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.003234/0.003234, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.613/1.613, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 47.23 kB / 300.7 MB, free: 5.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1589, allocations: 49.43 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004966/0.1639, allocations: 1.736 MB / 351.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1659, allocations: 0.5414 MB / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1662, allocations: 0 / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1664, allocations: 11.81 kB / 352.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1668, allocations: 23.84 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.1676, allocations: 97.58 kB / 352.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1679, allocations: 95.7 kB / 352.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1682, allocations: 21.12 kB / 352.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.1684, allocations: 39.83 kB / 352.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1685, allocations: 47.78 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1686, allocations: 8 kB / 352.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.1686, allocations: 8 kB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1687, allocations: 31.84 kB / 352.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1689, allocations: 51.61 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1692, allocations: 95.61 kB / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.1692, allocations: 0 / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.833e-06/0.1692, allocations: 0 / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.1692, allocations: 0 / 353 MB, free: 1.477 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001165/0.1704, allocations: 439.1 kB / 353.4 MB, free: 1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.59e-05/0.1705, allocations: 12.02 kB / 353.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.1706, allocations: 42.75 kB / 353.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1707, allocations: 16.75 kB / 353.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.1711, allocations: 204.1 kB / 353.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.1711, allocations: 12.31 kB / 353.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1712, allocations: 12.38 kB / 353.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.172, allocations: 275.2 kB / 353.9 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.172, allocations: 3.938 kB / 354 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1721, allocations: 8 kB / 354 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1721, allocations: 4 kB / 354 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.1723, allocations: 43.97 kB / 354 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.173, allocations: 310.4 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1733, allocations: 143.9 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1735, allocations: 70.61 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.1735, allocations: 0 / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.1736, allocations: 46.5 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.1736, allocations: 0 / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005995/0.1742, allocations: 173.5 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.1744, allocations: 114.8 kB / 354.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1746, allocations: 149.9 kB / 355 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1747, allocations: 33.7 kB / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.1748, allocations: 96.62 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.1748, allocations: 19.8 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1749, allocations: 33.72 kB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.1752, allocations: 326.8 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1753, allocations: 35.91 kB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1756, allocations: 140.1 kB / 355.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1759, allocations: 170.4 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1759, allocations: 0 / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004027/0.1763, allocations: 185.1 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1763, allocations: 4 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.1764, allocations: 4.531 kB / 356 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.1764, allocations: 12 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1766, allocations: 27.92 kB / 356.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.1766, allocations: 11.94 kB / 356.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1767, allocations: 11.98 kB / 356.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1768, allocations: 11.94 kB / 356.1 MB, free: 13.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002121/0.177, allocations: 133.8 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.1772, allocations: 125.4 kB / 356.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.1773, allocations: 20.7 kB / 356.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1773, allocations: 4 kB / 356.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.1774, allocations: 3.938 kB / 356.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.1774, allocations: 4 kB / 356.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.1777, allocations: 205.4 kB / 356.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1778, allocations: 0 / 356.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1779, allocations: 23.98 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1779, allocations: 0 / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1779, allocations: 4 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1779, allocations: 0 / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1779, allocations: 3.938 kB / 356.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.1784, allocations: 249 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1785, allocations: 104.9 kB / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.1786, allocations: 8 kB / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.1787, allocations: 8 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1787, allocations: 7.922 kB / 357 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1788, allocations: 4 kB / 357 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1789, allocations: 119.2 kB / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1789, allocations: 0 / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1793, allocations: 20 kB / 357.1 MB, free: 12.82 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.00121/0.1805, allocations: 0.8548 MB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.1809, allocations: 111.7 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1809, allocations: 5.062 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.1809, allocations: 7.984 kB / 358.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.1817, allocations: 98.14 kB / 358.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1849, allocations: 1.838 MB / 360 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.1855, allocations: 0.7163 MB / 360.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.1856, allocations: 17.5 kB / 360.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1857, allocations: 43.36 kB / 360.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1857, allocations: 0 / 360.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.2137, allocations: 2.652 MB / 363.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.333, allocations: 19.81 kB / 363.5 MB, free: 6.305 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches