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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001205/0.001205, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.523/1.523, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 48.33 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 49.44 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004637/0.1505, allocations: 1.737 MB / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1519, allocations: 0.5493 MB / 352.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1521, allocations: 3.938 kB / 352.3 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.173e-05/0.1522, allocations: 7.875 kB / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1524, allocations: 19.8 kB / 352.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1529, allocations: 91.77 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1531, allocations: 79.78 kB / 352.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1532, allocations: 33.09 kB / 352.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1534, allocations: 43.8 kB / 352.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.1535, allocations: 47.75 kB / 352.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.1535, allocations: 8 kB / 352.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.1536, allocations: 8 kB / 352.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1537, allocations: 27.86 kB / 352.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.1538, allocations: 47.67 kB / 352.8 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.154, allocations: 103.6 kB / 352.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.154, allocations: 4 kB / 352.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.154, allocations: 0 / 352.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1541, allocations: 0 / 352.9 MB, free: 1.594 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.0006745/0.1547, allocations: 427.2 kB / 353.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1548, allocations: 11.89 kB / 353.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1549, allocations: 16.75 kB / 353.3 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1552, allocations: 212 kB / 353.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1552, allocations: 8.375 kB / 353.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1552, allocations: 16.38 kB / 353.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.1558, allocations: 277.4 kB / 353.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1558, allocations: 0 / 353.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1558, allocations: 7.938 kB / 353.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1558, allocations: 0 / 353.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.156, allocations: 51.91 kB / 353.9 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1564, allocations: 310.4 kB / 354.2 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1567, allocations: 139.9 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1569, allocations: 74.61 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1569, allocations: 8.141 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.157, allocations: 38.56 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.157, allocations: 0 / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004546/0.1575, allocations: 173.3 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.1576, allocations: 118.9 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1577, allocations: 150.2 kB / 354.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1577, allocations: 29.7 kB / 354.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1578, allocations: 96.12 kB / 355 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.1579, allocations: 19.8 kB / 355 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.1579, allocations: 33.72 kB / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1581, allocations: 326.8 kB / 355.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.1582, allocations: 27.97 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1583, allocations: 129.6 kB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1586, allocations: 178.3 kB / 355.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1586, allocations: 4 kB / 355.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002851/0.1589, allocations: 181.5 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1589, allocations: 4 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1589, allocations: 4 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.159, allocations: 8 kB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1591, allocations: 31.92 kB / 355.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1591, allocations: 4 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.1592, allocations: 15.92 kB / 355.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1592, allocations: 12 kB / 355.9 MB, free: 14.14 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.000146/0.1594, allocations: 140.4 kB / 356.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.1596, allocations: 121.4 kB / 356.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.1596, allocations: 20.7 kB / 356.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1597, allocations: 4 kB / 356.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1597, allocations: 0 / 356.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1597, allocations: 7.938 kB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1599, allocations: 197.5 kB / 356.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1599, allocations: 4.406 kB / 356.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.16, allocations: 27.92 kB / 356.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.16, allocations: 0 / 356.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1601, allocations: 8 kB / 356.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1601, allocations: 4 kB / 356.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1601, allocations: 3.938 kB / 356.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1604, allocations: 248.9 kB / 356.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.1605, allocations: 112.8 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.1606, allocations: 7.984 kB / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1606, allocations: 8 kB / 356.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1607, allocations: 11.92 kB / 356.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1607, allocations: 8 kB / 356.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.1608, allocations: 116.9 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 0 / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1611, allocations: 20 kB / 357 MB, free: 12.98 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.0001522/0.1613, allocations: 107.2 kB / 357.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1616, allocations: 111.7 kB / 357.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1616, allocations: 4 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.1616, allocations: 7.984 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.1622, allocations: 81.69 kB / 357.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.1629, allocations: 265 kB / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1634, allocations: 0.7241 MB / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.1635, allocations: 5.438 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.1635, allocations: 23.42 kB / 358.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1635, allocations: 0 / 358.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Templates: time 0.004728/0.1683, allocations: 1.207 MB / 359.5 MB, free: 10.4 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/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