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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001132/0.001132, allocations: 106.6 kB / 16.62 MB, free: 6.812 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.001211/0.001211, allocations: 189.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.303/1.303, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 42.97 kB / 300.3 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1491, allocations: 49.43 MB / 349.7 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.004704/0.1539, allocations: 1.663 MB / 351.3 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1553, allocations: 0.5533 MB / 351.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1555, allocations: 3.938 kB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.512e-05/0.1557, allocations: 7.875 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.156, allocations: 27.91 kB / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1564, allocations: 59.88 kB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1566, allocations: 67.84 kB / 352.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1567, allocations: 24.2 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1568, allocations: 39.8 kB / 352.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.1569, allocations: 35.83 kB / 352.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.157, allocations: 8 kB / 352.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.157, allocations: 4 kB / 352.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.1571, allocations: 15.92 kB / 352.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.1572, allocations: 43.73 kB / 352.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1574, allocations: 75.7 kB / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.1574, allocations: 0 / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1574, allocations: 3.938 kB / 352.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1574, allocations: 4 kB / 352.3 MB, free: 1.906 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.0008588/0.1583, allocations: 407.3 kB / 352.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1584, allocations: 8.031 kB / 352.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.1584, allocations: 38.75 kB / 352.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1585, allocations: 12.75 kB / 352.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1587, allocations: 212 kB / 353 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1588, allocations: 4.375 kB / 353 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1588, allocations: 8.375 kB / 353 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.1594, allocations: 224.2 kB / 353.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1594, allocations: 7.875 kB / 353.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1594, allocations: 8 kB / 353.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1594, allocations: 4 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1596, allocations: 59.88 kB / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1601, allocations: 290.5 kB / 353.6 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1603, allocations: 99.89 kB / 353.7 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1604, allocations: 54.61 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1604, allocations: 0 / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1605, allocations: 42.56 kB / 353.8 MB, free: 252 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1605, allocations: 0 / 353.8 MB, free: 252 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004425/0.1609, allocations: 149.3 kB / 353.9 MB, free: 96 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.161, allocations: 110.8 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1612, allocations: 144.8 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1612, allocations: 25.7 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1613, allocations: 100.2 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1613, allocations: 7.906 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.1614, allocations: 33.61 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.1616, allocations: 326.8 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.1617, allocations: 16 kB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1618, allocations: 92.42 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.162, allocations: 117.2 kB / 354.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.162, allocations: 0 / 354.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002915/0.1623, allocations: 133.3 kB / 355 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1624, allocations: 8 kB / 355 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1624, allocations: 4 kB / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1624, allocations: 0 / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1625, allocations: 27.98 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1625, allocations: 7.938 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.1626, allocations: 12.33 kB / 355 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1626, allocations: 8 kB / 355.1 MB, free: 14.82 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.1627, allocations: 129.7 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.1629, allocations: 98.08 kB / 355.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.163, allocations: 16.3 kB / 355.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.163, allocations: 4 kB / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.163, allocations: 64 / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.163, allocations: 4 kB / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1632, allocations: 193.4 kB / 355.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1633, allocations: 8 kB / 355.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1634, allocations: 19.98 kB / 355.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1634, allocations: 0 / 355.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1634, allocations: 4 kB / 355.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.1634, allocations: 7.938 kB / 355.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1634, allocations: 3.938 kB / 355.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1638, allocations: 225.1 kB / 355.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1639, allocations: 93 kB / 355.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1639, allocations: 15.92 kB / 355.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1641, allocations: 4 kB / 355.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.1641, allocations: 0 / 355.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1641, allocations: 4 kB / 355.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1643, allocations: 111.2 kB / 356 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1643, allocations: 0 / 356 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1646, allocations: 12 kB / 356 MB, free: 13.77 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 (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.0008383/0.1654, allocations: 0.8156 MB / 356.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1658, allocations: 87.95 kB / 356.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.1658, allocations: 3.938 kB / 356.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.1659, allocations: 15.92 kB / 356.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.1664, allocations: 59.08 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1687, allocations: 1.697 MB / 358.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1691, allocations: 0.708 MB / 359.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.1691, allocations: 4.938 kB / 359.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.1692, allocations: 31.42 kB / 359.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1692, allocations: 0 / 359.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.1831, allocations: 2.095 MB / 361.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.1834, allocations: 235.6 kB / 361.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.264, allocations: 4 kB / 361.7 MB, free: 7.953 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches