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.001129/0.001129, allocations: 104.2 kB / 16.62 MB, free: 6.805 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.001168/0.001168, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.617/1.617, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 51.38 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 49.45 MB / 349.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004283/0.1406, allocations: 1.803 MB / 351.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.142, allocations: 0.6039 MB / 352.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.1422, allocations: 3.938 kB / 352.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1425, allocations: 15.86 kB / 352.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1428, allocations: 33.59 kB / 352.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.1433, allocations: 119.8 kB / 352.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1436, allocations: 151.6 kB / 352.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1438, allocations: 33.53 kB / 352.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.144, allocations: 71.75 kB / 352.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1443, allocations: 111.6 kB / 352.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.1444, allocations: 16 kB / 352.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.1444, allocations: 12 kB / 352.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1445, allocations: 67.81 kB / 352.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1446, allocations: 91.45 kB / 352.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1449, allocations: 203.5 kB / 353 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.145, allocations: 0 / 353 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.145, allocations: 0 / 353 MB, free: 1.316 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.145, allocations: 0 / 353 MB, free: 1.316 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.001217/0.1462, allocations: 0.5064 MB / 353.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1463, allocations: 8.031 kB / 353.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.684e-05/0.1464, allocations: 50.73 kB / 353.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.1465, allocations: 28.64 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.1469, allocations: 247.8 kB / 353.8 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.1469, allocations: 16.33 kB / 353.9 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.147, allocations: 24.36 kB / 353.9 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1481, allocations: 0.634 MB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1482, allocations: 0 / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1482, allocations: 15.94 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.1482, allocations: 12 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.1486, allocations: 187.8 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1492, allocations: 366.2 kB / 355.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1497, allocations: 251.7 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.15, allocations: 150.6 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.15, allocations: 12 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1501, allocations: 34.5 kB / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.1501, allocations: 4 kB / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008632/0.1509, allocations: 427 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.1511, allocations: 139 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1513, allocations: 166.4 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1513, allocations: 29.7 kB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1514, allocations: 97.14 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.1514, allocations: 51.59 kB / 356.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1516, allocations: 78.12 kB / 356.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1517, allocations: 338.8 kB / 356.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1519, allocations: 72.83 kB / 356.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.1522, allocations: 318.7 kB / 357.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.1527, allocations: 417 kB / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1527, allocations: 3.984 kB / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006339/0.1533, allocations: 405.3 kB / 358 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1534, allocations: 8 kB / 358 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.1534, allocations: 11.98 kB / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.1534, allocations: 15.94 kB / 358 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1537, allocations: 79.84 kB / 358.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.1537, allocations: 15.94 kB / 358.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1539, allocations: 35.73 kB / 358.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1539, allocations: 24.34 kB / 358.2 MB, free: 11.6 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.0001946/0.1541, allocations: 194.2 kB / 358.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/0.1546, allocations: 302.3 kB / 358.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.439e-05/0.1547, allocations: 34.64 kB / 358.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1548, allocations: 4 kB / 358.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1548, allocations: 0 / 358.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1548, allocations: 0 / 358.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.155, allocations: 249.3 kB / 359 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1551, allocations: 4 kB / 359 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1553, allocations: 59.91 kB / 359 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1553, allocations: 4 kB / 359 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.1554, allocations: 19.98 kB / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1554, allocations: 3.938 kB / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1554, allocations: 0 / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.156, allocations: 443.3 kB / 359.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1562, allocations: 132.7 kB / 359.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.1562, allocations: 12 kB / 359.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1564, allocations: 15.98 kB / 359.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1564, allocations: 0 / 359.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.1565, allocations: 15.98 kB / 359.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1566, allocations: 127.5 kB / 359.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1566, allocations: 0 / 359.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.157, allocations: 52 kB / 359.8 MB, free: 9.855 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.001333/0.1583, allocations: 1.18 MB / 361 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.159, allocations: 337.4 kB / 361.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.159, allocations: 0 / 361.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.1591, allocations: 16.55 kB / 361.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.1598, allocations: 215.5 kB / 361.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.1638, allocations: 3.013 MB / 364.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1642, allocations: 0.7838 MB / 365.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.1643, allocations: 22.3 kB / 365.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1644, allocations: 71.41 kB / 365.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1644, allocations: 0 / 365.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.3949, allocations: 4.855 MB / 370.3 MB, free: 25.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.3951, allocations: 209.6 kB / 370.5 MB, free: 25.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.536, allocations: 2.25 kB / 370.5 MB, free: 25.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 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.mat","/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