Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001167/0.001167, allocations: 106.3 kB / 16.92 MB, free: 5.777 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.00128/0.001281, 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.478/1.478, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001114, allocations: 46.16 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1271, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003813/0.131, allocations: 1.536 MB / 351.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.1319, allocations: 0.4948 MB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.132, allocations: 0 / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.1321, allocations: 3.938 kB / 352.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1323, allocations: 15.86 kB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1326, allocations: 51.81 kB / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1327, allocations: 43.8 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1328, allocations: 23.97 kB / 352.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.1329, allocations: 15.94 kB / 352.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.133, allocations: 31.78 kB / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.133, allocations: 0 / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.133, allocations: 4 kB / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.1331, allocations: 11.98 kB / 352.4 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1331, allocations: 31.75 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1333, allocations: 51.8 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1333, allocations: 0 / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1333, allocations: 0 / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1333, allocations: 4 kB / 352.5 MB, free: 1.984 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.0005417/0.1338, allocations: 379.3 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1339, allocations: 12.03 kB / 352.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.1339, allocations: 38.67 kB / 352.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.134, allocations: 8.844 kB / 352.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1342, allocations: 194.9 kB / 353.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1342, allocations: 4.359 kB / 353.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1343, allocations: 4.375 kB / 353.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1346, allocations: 109.2 kB / 353.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1346, allocations: 0 / 353.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1346, allocations: 0 / 353.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1346, allocations: 0 / 353.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1347, allocations: 23.92 kB / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1351, allocations: 269.6 kB / 353.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1352, allocations: 45.14 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.1353, allocations: 21.78 kB / 353.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1353, allocations: 0 / 353.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1353, allocations: 38.55 kB / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1353, allocations: 0 / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002715/0.1356, allocations: 65.53 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.1357, allocations: 81.09 kB / 353.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1358, allocations: 142.4 kB / 353.9 MB, free: 356 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1359, allocations: 29.7 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1359, allocations: 88.08 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1359, allocations: 4 kB / 354 MB, free: 224 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.136, allocations: 21.7 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1361, allocations: 318.8 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.1362, allocations: 7.984 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.1363, allocations: 25.66 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.1364, allocations: 29.7 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1364, allocations: 0 / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.1365, allocations: 61.53 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1365, allocations: 11.98 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1365, allocations: 0 / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1366, allocations: 8.062 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.1366, allocations: 4 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1366, allocations: 0 / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.1367, allocations: 4 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1367, allocations: 0 / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.676e-05/0.1368, allocations: 121.8 kB / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.1369, allocations: 41.55 kB / 354.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1369, allocations: 15.86 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1369, allocations: 3.938 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1369, allocations: 4.031 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1369, allocations: 0 / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1371, allocations: 169.6 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1371, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.1372, allocations: 4 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1372, allocations: 0 / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1372, allocations: 4 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1372, allocations: 4 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1372, allocations: 0 / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1374, allocations: 160.2 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.1375, allocations: 97 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1375, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.1376, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1376, allocations: 11.92 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1376, allocations: 0 / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.815e-05/0.1377, allocations: 110.6 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1377, allocations: 0 / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.138, allocations: 4 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005084/0.1385, allocations: 0.6937 MB / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1386, allocations: 27.92 kB / 355.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1386, allocations: 0 / 355.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.1387, allocations: 7.984 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1391, allocations: 22.77 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1406, allocations: 1.312 MB / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.1412, allocations: 0.7001 MB / 358 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.1412, allocations: 4.031 kB / 358 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.1413, allocations: 15.44 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.038e-06/0.1413, allocations: 0 / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1615, allocations: 1.51 MB / 359.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.295, allocations: 3.984 kB / 359.5 MB, free: 10.52 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches