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.001315/0.001315, allocations: 102.4 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.001423/0.001423, 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 51.09 kB / 300.1 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1373, allocations: 49.45 MB / 349.5 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003268/0.1406, allocations: 1.651 MB / 351.2 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1417, allocations: 0.5649 MB / 351.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1419, allocations: 4 kB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.192e-05/0.142, allocations: 3.938 kB / 351.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1423, allocations: 31.78 kB / 351.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1426, allocations: 59.88 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1427, allocations: 67.84 kB / 351.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1428, allocations: 16.23 kB / 351.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.143, allocations: 35.83 kB / 352 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.143, allocations: 27.86 kB / 352 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1431, allocations: 4 kB / 352 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.1431, allocations: 4 kB / 352 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.1432, allocations: 19.91 kB / 352 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.1432, allocations: 35.73 kB / 352 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1434, allocations: 75.7 kB / 352.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1434, allocations: 3.938 kB / 352.1 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1434, allocations: 4 kB / 352.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1434, allocations: 0 / 352.1 MB, free: 1.934 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.0006503/0.1441, allocations: 415.2 kB / 352.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1441, allocations: 12.03 kB / 352.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1442, allocations: 42.72 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1442, allocations: 16.75 kB / 352.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1444, allocations: 200.1 kB / 352.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1445, allocations: 8.375 kB / 352.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1445, allocations: 8.375 kB / 352.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.145, allocations: 225.8 kB / 353 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.145, allocations: 8 kB / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.145, allocations: 0 / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1451, allocations: 0 / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1452, allocations: 55.89 kB / 353.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1457, allocations: 282.5 kB / 353.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1459, allocations: 107.8 kB / 353.5 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.146, allocations: 50.75 kB / 353.5 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1461, allocations: 4 kB / 353.5 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1461, allocations: 38.55 kB / 353.6 MB, free: 280 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1461, allocations: 0 / 353.6 MB, free: 280 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004743/0.1466, allocations: 149.3 kB / 353.7 MB, free: 124 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1467, allocations: 114.8 kB / 353.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1469, allocations: 137.8 kB / 354 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1469, allocations: 29.7 kB / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.147, allocations: 96.2 kB / 354.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.147, allocations: 15.89 kB / 354.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.1471, allocations: 29.62 kB / 354.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1473, allocations: 322.8 kB / 354.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.1473, allocations: 19.98 kB / 354.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1475, allocations: 93.38 kB / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1476, allocations: 113.3 kB / 354.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1477, allocations: 0 / 354.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002319/0.1479, allocations: 137.3 kB / 354.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1479, allocations: 4 kB / 354.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1479, allocations: 4 kB / 354.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.148, allocations: 4 kB / 354.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1481, allocations: 23.98 kB / 354.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1481, allocations: 8.281 kB / 354.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.1482, allocations: 12 kB / 354.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1482, allocations: 4 kB / 354.9 MB, free: 14.84 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.000126/0.1483, allocations: 129.8 kB / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.1486, allocations: 106 kB / 355.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1486, allocations: 20.25 kB / 355.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1486, allocations: 3.984 kB / 355.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1487, allocations: 0 / 355.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1487, allocations: 7.984 kB / 355.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1489, allocations: 189.4 kB / 355.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1489, allocations: 4 kB / 355.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.149, allocations: 27.91 kB / 355.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.149, allocations: 4 kB / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1491, allocations: 0 / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1491, allocations: 0 / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1491, allocations: 4 kB / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1494, allocations: 225.1 kB / 355.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.1495, allocations: 97 kB / 355.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1495, allocations: 0 / 355.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1497, allocations: 11.98 kB / 355.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.1497, allocations: 11.88 kB / 355.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1497, allocations: 0 / 355.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.1498, allocations: 114.5 kB / 355.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1499, allocations: 0 / 355.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1501, allocations: 16 kB / 355.8 MB, free: 13.79 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.0009142/0.1511, allocations: 0.8075 MB / 356.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1514, allocations: 79.94 kB / 356.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1514, allocations: 3.938 kB / 356.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.1514, allocations: 12 kB / 356.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.1521, allocations: 48 kB / 356.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.1549, allocations: 1.702 MB / 358.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1553, allocations: 0.7122 MB / 359.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1554, allocations: 8.984 kB / 359.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.1555, allocations: 19.62 kB / 359.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1555, allocations: 0 / 359.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.1707, allocations: 2.021 MB / 361.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.1709, allocations: 239.5 kB / 361.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.256, allocations: 7.625 kB / 361.5 MB, free: 8.039 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