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.001331/0.001331, allocations: 101.2 kB / 16.5 MB, free: 6.641 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.002042/0.002042, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.63/1.63, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 47.17 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 49.45 MB / 349.5 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004806/0.1378, allocations: 1.811 MB / 351.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1395, allocations: 0.5922 MB / 351.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.1398, allocations: 11.88 kB / 351.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1402, allocations: 15.92 kB / 351.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1407, allocations: 31.83 kB / 352 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.1413, allocations: 118.4 kB / 352.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.1417, allocations: 147.6 kB / 352.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1419, allocations: 33.53 kB / 352.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.1422, allocations: 67.75 kB / 352.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.1425, allocations: 99.58 kB / 352.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.1426, allocations: 8 kB / 352.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1426, allocations: 8 kB / 352.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1427, allocations: 63.81 kB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1429, allocations: 83.45 kB / 352.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1433, allocations: 203.5 kB / 352.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1433, allocations: 0 / 352.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1433, allocations: 0 / 352.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1433, allocations: 0 / 352.8 MB, free: 1.461 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.001216/0.1445, allocations: 0.5064 MB / 353.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.1446, allocations: 8.031 kB / 353.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.162e-05/0.1447, allocations: 50.73 kB / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1448, allocations: 28.66 kB / 353.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1451, allocations: 243.8 kB / 353.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.1452, allocations: 16.33 kB / 353.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.1452, allocations: 20.38 kB / 353.6 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1464, allocations: 0.634 MB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1464, allocations: 0 / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1465, allocations: 8 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.1465, allocations: 11.98 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1469, allocations: 183.8 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.1474, allocations: 374.2 kB / 354.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.1479, allocations: 251.7 kB / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1482, allocations: 158.6 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/0.1483, allocations: 11.98 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1483, allocations: 34.56 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.1483, allocations: 0 / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009587/0.1493, allocations: 426.4 kB / 355.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.1495, allocations: 139.1 kB / 355.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1497, allocations: 170.4 kB / 356 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1497, allocations: 29.7 kB / 356 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1498, allocations: 101.1 kB / 356.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.1499, allocations: 47.53 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.15, allocations: 70.14 kB / 356.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1502, allocations: 338.8 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1504, allocations: 72.83 kB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1508, allocations: 322.7 kB / 357 MB, free: 12.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.1513, allocations: 417 kB / 357.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1513, allocations: 7.938 kB / 357.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006143/0.1519, allocations: 404.7 kB / 357.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.152, allocations: 8.969 kB / 357.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.152, allocations: 8 kB / 357.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.152, allocations: 12 kB / 357.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1523, allocations: 87.84 kB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1523, allocations: 19.86 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.1525, allocations: 35.75 kB / 357.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1525, allocations: 20 kB / 358 MB, free: 11.75 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.0002426/0.1528, allocations: 194.3 kB / 358.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.1533, allocations: 297.2 kB / 358.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.1534, allocations: 34.64 kB / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1534, allocations: 8 kB / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.1534, allocations: 0 / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1534, allocations: 7.984 kB / 358.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1537, allocations: 241.3 kB / 358.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1537, allocations: 4 kB / 358.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.154, allocations: 59.89 kB / 358.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.154, allocations: 4 kB / 358.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.1541, allocations: 12 kB / 358.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.1541, allocations: 4 kB / 358.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1541, allocations: 4 kB / 358.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.1547, allocations: 440.5 kB / 359.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1549, allocations: 132.7 kB / 359.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.1549, allocations: 19.98 kB / 359.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1551, allocations: 8 kB / 359.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1551, allocations: 0 / 359.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.1552, allocations: 19.98 kB / 359.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1553, allocations: 131.2 kB / 359.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1553, allocations: 0 / 359.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.1557, allocations: 52 kB / 359.6 MB, free: 10 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.001481/0.1572, allocations: 1.179 MB / 360.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006553/0.1579, allocations: 293.2 kB / 361.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1579, allocations: 0 / 361.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.158, allocations: 11.98 kB / 361.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.1588, allocations: 211.8 kB / 361.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.1633, allocations: 3.01 MB / 364.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1637, allocations: 0.7842 MB / 365.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.969e-05/0.1639, allocations: 22.28 kB / 365.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.164, allocations: 67.41 kB / 365.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of SimCode: time 1.203e-06/0.164, allocations: 0 / 365.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/0.5037, allocations: 4.677 MB / 369.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.5039, allocations: 211.7 kB / 370.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.432, allocations: 3.516 kB / 370.1 MB, free: 24.93 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