Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 109.8 kB / 16.92 MB, free: 5.781 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.001582/0.001582, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.422/1.422, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 42.22 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1338, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004554/0.1384, allocations: 1.565 MB / 351.7 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1397, allocations: 480.2 kB / 352.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1399, allocations: 4 kB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.14, allocations: 7.875 kB / 352.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1401, allocations: 7.922 kB / 352.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1405, allocations: 62.06 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1406, allocations: 43.8 kB / 352.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1408, allocations: 16.17 kB / 352.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1409, allocations: 15.94 kB / 352.4 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.141, allocations: 27.84 kB / 352.4 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.141, allocations: 0 / 352.4 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.141, allocations: 4 kB / 352.4 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.1411, allocations: 23.86 kB / 352.4 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1411, allocations: 27.81 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1413, allocations: 51.8 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.1413, allocations: 0 / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1413, allocations: 0 / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1413, allocations: 0 / 352.5 MB, free: 1.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007513/0.1421, allocations: 383.3 kB / 352.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.1422, allocations: 12.02 kB / 352.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.1422, allocations: 38.69 kB / 352.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1423, allocations: 12.84 kB / 352.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1426, allocations: 200.1 kB / 353.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1426, allocations: 4.375 kB / 353.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1426, allocations: 384 / 353.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.143, allocations: 125.8 kB / 353.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.143, allocations: 4 kB / 353.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.143, allocations: 0 / 353.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.143, allocations: 4 kB / 353.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.1431, allocations: 27.92 kB / 353.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1436, allocations: 270.5 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1437, allocations: 79.78 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.1438, allocations: 30.62 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1439, allocations: 4 kB / 353.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1439, allocations: 38.5 kB / 353.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1439, allocations: 0 / 353.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000313/0.1442, allocations: 81.52 kB / 353.8 MB, free: 468 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.1443, allocations: 106.8 kB / 353.9 MB, free: 336 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1445, allocations: 150.1 kB / 354 MB, free: 176 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1445, allocations: 29.64 kB / 354.1 MB, free: 140 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1446, allocations: 92.14 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1446, allocations: 3.906 kB / 354.1 MB, free: 40 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1447, allocations: 21.7 kB / 354.2 MB, free: 12 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1449, allocations: 314.8 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1449, allocations: 15.98 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.145, allocations: 35.42 kB / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1451, allocations: 47.36 kB / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1451, allocations: 0 / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001498/0.1453, allocations: 69.53 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1453, allocations: 8 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1453, allocations: 0 / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1454, allocations: 0 / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.1455, allocations: 11.98 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1455, allocations: 3.938 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1455, allocations: 7.938 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1456, allocations: 0 / 354.7 MB, free: 15.47 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.0001274/0.1457, allocations: 129.9 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.1458, allocations: 49.55 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.1458, allocations: 15.86 kB / 354.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1458, allocations: 0 / 354.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1459, allocations: 4 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1459, allocations: 0 / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1461, allocations: 173.6 kB / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1461, allocations: 0 / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1461, allocations: 11.98 kB / 355 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1462, allocations: 4.062 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1462, allocations: 4 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1462, allocations: 4 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1462, allocations: 0 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1464, allocations: 177.1 kB / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1465, allocations: 97 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1465, allocations: 7.984 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1466, allocations: 0 / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1466, allocations: 4.141 kB / 355.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1467, allocations: 7.984 kB / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1468, allocations: 114.1 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1468, allocations: 0 / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.147, allocations: 12 kB / 355.5 MB, free: 14.56 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.000588/0.1476, allocations: 0.7178 MB / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1478, allocations: 35.91 kB / 356.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1478, allocations: 4.25 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.1478, allocations: 8 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1483, allocations: 24.02 kB / 356.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.15, allocations: 1.388 MB / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1504, allocations: 0.6885 MB / 358.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.1504, allocations: 4 kB / 358.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.1505, allocations: 19.42 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1505, allocations: 3.938 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.1731, allocations: 1.647 MB / 360 MB, free: 9.945 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.301, allocations: 6.438 kB / 360 MB, free: 9.941 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches