Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00227/0.00227, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.72 kB / 307 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004074/0.1392, allocations: 1.583 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1404, allocations: 0.5376 MB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1406, allocations: 0 / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.1407, allocations: 7.875 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1409, allocations: 23.86 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1413, allocations: 55.81 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1414, allocations: 51.84 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1415, allocations: 20.17 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1417, allocations: 27.84 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1418, allocations: 23.86 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1418, allocations: 4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.846e-05/0.1419, allocations: 4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.1419, allocations: 15.92 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.142, allocations: 23.81 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1421, allocations: 59.73 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1422, allocations: 8 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1422, allocations: 4 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1422, allocations: 0 / 360 MB, free: 11.51 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006164/0.1428, allocations: 379.3 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1429, allocations: 12.03 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1429, allocations: 38.67 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.1431, allocations: 12.84 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1433, allocations: 203.7 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1434, allocations: 16.12 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1434, allocations: 4 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1437, allocations: 109.8 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1437, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1437, allocations: 4 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1438, allocations: 4 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.1438, allocations: 23.92 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1442, allocations: 278.5 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1444, allocations: 71.78 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.1445, allocations: 38.62 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1445, allocations: 0 / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1445, allocations: 38.5 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1445, allocations: 4 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003113/0.1449, allocations: 81.52 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.1449, allocations: 106.8 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1451, allocations: 153.7 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1451, allocations: 25.7 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.1452, allocations: 96.41 kB / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1452, allocations: 4 kB / 361.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1453, allocations: 21.7 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1454, allocations: 314.8 kB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.1455, allocations: 15.92 kB / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.1455, allocations: 31.42 kB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1456, allocations: 51.36 kB / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1456, allocations: 0 / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/0.1458, allocations: 69.53 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1458, allocations: 10.94 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1458, allocations: 7.938 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1459, allocations: 0 / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.146, allocations: 11.98 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.146, allocations: 3.938 kB / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.146, allocations: 4 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.146, allocations: 0 / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001072/0.1461, allocations: 130.8 kB / 362.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.1462, allocations: 49.61 kB / 362.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1463, allocations: 15.86 kB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1463, allocations: 0 / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.1463, allocations: 3.938 kB / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1463, allocations: 4 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.1466, allocations: 165.7 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1466, allocations: 4.094 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.1466, allocations: 15.92 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1467, allocations: 3.984 kB / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1467, allocations: 0 / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1467, allocations: 8 kB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1467, allocations: 7.938 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1469, allocations: 173.2 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.147, allocations: 93 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.147, allocations: 7.984 kB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.1471, allocations: 4 kB / 362.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1472, allocations: 7.875 kB / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1472, allocations: 8 kB / 362.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.98e-05/0.1473, allocations: 114.8 kB / 363 MB, free: 8.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1473, allocations: 0 / 363 MB, free: 8.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1475, allocations: 8 kB / 363 MB, free: 8.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004852/0.148, allocations: 0.7062 MB / 363.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1482, allocations: 35.91 kB / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1482, allocations: 0 / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.1482, allocations: 16.19 kB / 363.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.1488, allocations: 27.95 kB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1504, allocations: 1.394 MB / 365.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1508, allocations: 0.6963 MB / 365.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.1509, allocations: 3.984 kB / 365.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1509, allocations: 19.44 kB / 365.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1509, allocations: 0 / 365.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.171, allocations: 1.667 MB / 367.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.486, allocations: 3.938 kB / 367.6 MB, free: 3.453 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches