Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 95.88 kB / 16.31 MB, free: 6.121 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.001062/0.001062, allocations: 183.5 kB / 17.2 MB, free: 6.004 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.517/1.517, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003511, allocations: 11.98 kB / 300.7 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 50.42 MB / 351.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002793/0.1517, allocations: 1.292 MB / 352.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1529, allocations: 0.5225 MB / 353 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1531, allocations: 3.938 kB / 353 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.519e-05/0.1532, allocations: 7.922 kB / 353 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.1536, allocations: 35.89 kB / 353 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1539, allocations: 59.81 kB / 353.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.154, allocations: 43.89 kB / 353.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1542, allocations: 20.2 kB / 353.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1544, allocations: 27.84 kB / 353.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.1545, allocations: 31.84 kB / 353.2 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1545, allocations: 4 kB / 353.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.1545, allocations: 0 / 353.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.1546, allocations: 19.97 kB / 353.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1547, allocations: 41.64 kB / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1548, allocations: 51.83 kB / 353.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1548, allocations: 0 / 353.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1548, allocations: 7.938 kB / 353.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1548, allocations: 0 / 353.3 MB, free: 1.605 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007975/0.1556, allocations: 395 kB / 353.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1557, allocations: 8.031 kB / 353.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1558, allocations: 19.8 kB / 353.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1561, allocations: 197.6 kB / 353.9 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1561, allocations: 8 kB / 353.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1561, allocations: 8 kB / 353.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.1567, allocations: 220.7 kB / 354.1 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1567, allocations: 3.953 kB / 354.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1568, allocations: 4 kB / 354.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1568, allocations: 3.938 kB / 354.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.157, allocations: 47.97 kB / 354.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.1576, allocations: 302.5 kB / 354.5 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1578, allocations: 95.89 kB / 354.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.1579, allocations: 15.94 kB / 354.6 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.1579, allocations: 30.62 kB / 354.6 MB, free: 80 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1579, allocations: 4 kB / 354.6 MB, free: 76 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005428/0.1585, allocations: 153.9 kB / 354.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.1586, allocations: 118.9 kB / 354.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1588, allocations: 137.8 kB / 355 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1588, allocations: 25.7 kB / 355.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.1589, allocations: 92.12 kB / 355.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.159, allocations: 15.75 kB / 355.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.159, allocations: 4 kB / 355.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1592, allocations: 322.8 kB / 355.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.1592, allocations: 23.98 kB / 355.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1594, allocations: 88.56 kB / 355.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.849e-05/0.1595, allocations: 39.92 kB / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1595, allocations: 0 / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002448/0.1597, allocations: 145.3 kB / 355.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1598, allocations: 4 kB / 355.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1598, allocations: 4 kB / 355.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1598, allocations: 4 kB / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.16, allocations: 28.33 kB / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.16, allocations: 3.938 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.1601, allocations: 8 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1601, allocations: 8 kB / 355.8 MB, free: 14.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.1602, allocations: 129.8 kB / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.1605, allocations: 105.5 kB / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.1605, allocations: 16.3 kB / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1605, allocations: 0 / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1606, allocations: 7.938 kB / 356.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1606, allocations: 4 kB / 356.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1608, allocations: 185.5 kB / 356.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1608, allocations: 0 / 356.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.161, allocations: 31.91 kB / 356.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.161, allocations: 3.953 kB / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.161, allocations: 4 kB / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.161, allocations: 4 kB / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.161, allocations: 0 / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.1614, allocations: 252.5 kB / 356.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1615, allocations: 93 kB / 356.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.1616, allocations: 8.125 kB / 356.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1617, allocations: 19.98 kB / 356.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.1618, allocations: 0 / 356.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1618, allocations: 4 kB / 356.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1619, allocations: 113.8 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1619, allocations: 4 kB / 356.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1622, allocations: 12 kB / 356.8 MB, free: 13.68 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.1624, allocations: 99.25 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1627, allocations: 91.83 kB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1627, allocations: 0 / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.1628, allocations: 4 kB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.1633, allocations: 59.89 kB / 357.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.1641, allocations: 283.9 kB / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1646, allocations: 0.716 MB / 358.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.1646, allocations: 8.562 kB / 358.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.1647, allocations: 11.44 kB / 358.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1647, allocations: 4 kB / 358.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.004095/0.1688, allocations: 0.8273 MB / 358.9 MB, free: 11.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches