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.001023/0.001023, allocations: 88.77 kB / 16.65 MB, free: 6.535 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.001201/0.001201, allocations: 174.7 kB / 17.56 MB, free: 6.18 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.628/1.628, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003697, allocations: 4 kB / 301.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 50.42 MB / 352 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003788/0.1435, allocations: 1.449 MB / 353.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1451, allocations: 0.5221 MB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.1454, allocations: 7.938 kB / 353.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.838e-05/0.1455, allocations: 7.922 kB / 353.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1458, allocations: 3.938 kB / 353.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.1465, allocations: 87.78 kB / 354 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1467, allocations: 95.69 kB / 354.1 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.1468, allocations: 21.12 kB / 354.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.147, allocations: 35.84 kB / 354.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1471, allocations: 35.78 kB / 354.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.1471, allocations: 4 kB / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.1472, allocations: 0 / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1473, allocations: 27.84 kB / 354.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1474, allocations: 77.36 kB / 354.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1476, allocations: 83.66 kB / 354.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1477, allocations: 4 kB / 354.4 MB, free: 1.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1477, allocations: 7.938 kB / 354.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1477, allocations: 0 / 354.4 MB, free: 1.094 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.001023/0.1487, allocations: 399.3 kB / 354.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/0.1488, allocations: 12.03 kB / 354.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.1489, allocations: 42.73 kB / 354.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.149, allocations: 16.75 kB / 354.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.1494, allocations: 216.1 kB / 355.1 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.1495, allocations: 12.31 kB / 355.1 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.1495, allocations: 8.375 kB / 355.1 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.1502, allocations: 269.6 kB / 355.4 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1502, allocations: 4 kB / 355.4 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1503, allocations: 0 / 355.4 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1503, allocations: 3.938 kB / 355.4 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1505, allocations: 59.97 kB / 355.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.151, allocations: 302.4 kB / 355.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.1513, allocations: 143.9 kB / 355.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1514, allocations: 74.61 kB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.1515, allocations: 7.984 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.1515, allocations: 38.5 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.1516, allocations: 7.938 kB / 356 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004931/0.1521, allocations: 177.3 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1522, allocations: 114.8 kB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1524, allocations: 148.5 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1524, allocations: 29.7 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1525, allocations: 96.25 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1526, allocations: 23.94 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1526, allocations: 21.72 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1528, allocations: 326.8 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.1529, allocations: 27.98 kB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1531, allocations: 137.5 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1533, allocations: 182.4 kB / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1533, allocations: 0 / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003247/0.1537, allocations: 185.5 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1537, allocations: 4 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1537, allocations: 4 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1538, allocations: 8 kB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1539, allocations: 35.92 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1539, allocations: 4 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.154, allocations: 19.92 kB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1541, allocations: 15.94 kB / 357.5 MB, free: 13.59 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.0001487/0.1542, allocations: 136.9 kB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.1544, allocations: 125.3 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.1545, allocations: 16.72 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1545, allocations: 4 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1545, allocations: 480 / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1545, allocations: 7.922 kB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1548, allocations: 193.6 kB / 358 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1548, allocations: 0 / 358 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1549, allocations: 35.91 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.155, allocations: 7.938 kB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.155, allocations: 4 kB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.155, allocations: 4 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.155, allocations: 0 / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.1554, allocations: 259.6 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1555, allocations: 105 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1556, allocations: 4 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1556, allocations: 4 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1557, allocations: 11.92 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1557, allocations: 4 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.1558, allocations: 118.9 kB / 358.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1558, allocations: 0 / 358.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1561, allocations: 20 kB / 358.6 MB, free: 12.45 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.001014/0.1571, allocations: 0.8505 MB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1574, allocations: 111.7 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.1574, allocations: 4 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.1575, allocations: 17 kB / 359.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.1581, allocations: 83.94 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1602, allocations: 1.911 MB / 361.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1605, allocations: 0.7166 MB / 362.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.1606, allocations: 13.42 kB / 362.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.1607, allocations: 31.42 kB / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1607, allocations: 8.281 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.1741, allocations: 2.405 MB / 364.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.1744, allocations: 210.3 kB / 364.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.358, allocations: 0 / 364.9 MB, free: 5.949 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