Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 123 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 249.1 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 47.92 kB / 365.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003064/0.1137, allocations: 1.565 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.1147, allocations: 486.7 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1148, allocations: 4 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.1148, allocations: 7.875 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.1149, allocations: 3.938 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1152, allocations: 47.83 kB / 419.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1153, allocations: 47.91 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1155, allocations: 8 kB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.1155, allocations: 31.78 kB / 420 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.1156, allocations: 15.92 kB / 420 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1156, allocations: 4 kB / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.1156, allocations: 4 kB / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1157, allocations: 15.92 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1157, allocations: 19.81 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1159, allocations: 63.67 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1159, allocations: 0 / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1159, allocations: 7.938 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1159, allocations: 0 / 420.1 MB, free: 10.33 MB / 350.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.0005398/0.1164, allocations: 375.1 kB / 420.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1165, allocations: 12.03 kB / 420.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1165, allocations: 34.69 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1165, allocations: 12.88 kB / 420.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1168, allocations: 200.2 kB / 420.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1168, allocations: 8.375 kB / 420.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1168, allocations: 4.375 kB / 420.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1171, allocations: 101.2 kB / 420.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1171, allocations: 0 / 420.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1171, allocations: 3.984 kB / 420.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1171, allocations: 7.938 kB / 420.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.1172, allocations: 23.92 kB / 420.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1176, allocations: 261.7 kB / 421.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1177, allocations: 45.14 kB / 421.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1177, allocations: 21.78 kB / 421.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1177, allocations: 0 / 421.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1178, allocations: 38.55 kB / 421.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1178, allocations: 0 / 421.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002899/0.1181, allocations: 61.62 kB / 421.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1181, allocations: 89.34 kB / 421.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1183, allocations: 140.2 kB / 421.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1183, allocations: 25.7 kB / 421.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1184, allocations: 88.14 kB / 421.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1184, allocations: 7.922 kB / 421.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1184, allocations: 21.67 kB / 421.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1186, allocations: 314.8 kB / 421.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.1186, allocations: 11.98 kB / 422 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.1187, allocations: 25.66 kB / 422 MB, free: 8.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.1188, allocations: 25.7 kB / 422 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1188, allocations: 0 / 422 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001347/0.1189, allocations: 61.61 kB / 422.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1189, allocations: 8.125 kB / 422.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1189, allocations: 0 / 422.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1189, allocations: 0 / 422.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.119, allocations: 4 kB / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.119, allocations: 4 kB / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.119, allocations: 0 / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.119, allocations: 3.984 kB / 422.1 MB, free: 8.055 MB / 350.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.496e-05/0.1191, allocations: 122.4 kB / 422.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.1192, allocations: 37.59 kB / 422.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.1192, allocations: 23.83 kB / 422.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1193, allocations: 0 / 422.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1193, allocations: 0 / 422.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1193, allocations: 8 kB / 422.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1195, allocations: 169.6 kB / 422.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1195, allocations: 0 / 422.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.1195, allocations: 7.938 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1195, allocations: 0 / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1196, allocations: 4 kB / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1196, allocations: 3.984 kB / 422.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1196, allocations: 4 kB / 422.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1197, allocations: 164.3 kB / 422.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.1198, allocations: 89.05 kB / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1198, allocations: 0 / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1199, allocations: 7.938 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1199, allocations: 8.016 kB / 422.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.12, allocations: 0 / 422.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.12, allocations: 105 kB / 422.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.12, allocations: 4 kB / 422.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1203, allocations: 8 kB / 422.8 MB, free: 7.199 MB / 350.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.0005741/0.1208, allocations: 0.6936 MB / 423.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.121, allocations: 27.92 kB / 423.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.121, allocations: 0 / 423.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.121, allocations: 7.984 kB / 423.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1214, allocations: 16.02 kB / 423.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1229, allocations: 1.311 MB / 424.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1232, allocations: 0.6922 MB / 425.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.1233, allocations: 8.031 kB / 425.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.1233, allocations: 19.42 kB / 425.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1233, allocations: 0 / 425.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.1506, allocations: 1.544 MB / 427.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/8.919, allocations: 16.03 kB / 427.2 MB, free: 2.836 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.639043217059225]