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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001572/0.001572, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.571/1.571, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003974/0.133, allocations: 1.566 MB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1343, allocations: 0.5025 MB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1344, allocations: 4 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.292e-05/0.1345, allocations: 7.875 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1347, allocations: 7.922 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.1351, allocations: 63.81 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1352, allocations: 39.86 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1353, allocations: 11.98 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.1354, allocations: 23.88 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.1355, allocations: 19.91 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1355, allocations: 7.938 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1355, allocations: 0 / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.1356, allocations: 19.92 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.1356, allocations: 23.81 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1359, allocations: 55.67 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1359, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1359, allocations: 4 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1359, allocations: 0 / 420.1 MB, free: 10.26 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.0006087/0.1365, allocations: 371.1 kB / 420.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1365, allocations: 12.02 kB / 420.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.1366, allocations: 38.75 kB / 420.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1366, allocations: 8.891 kB / 420.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.137, allocations: 202.2 kB / 420.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.137, allocations: 4.375 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.137, allocations: 4.375 kB / 420.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1373, allocations: 113.1 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1374, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1374, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1374, allocations: 4 kB / 420.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.1374, allocations: 19.92 kB / 420.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1379, allocations: 269.6 kB / 421.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.138, allocations: 37.22 kB / 421.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.138, allocations: 25.77 kB / 421.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.138, allocations: 4 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1381, allocations: 34.5 kB / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.1381, allocations: 0 / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003024/0.1384, allocations: 65.61 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.1385, allocations: 81.36 kB / 421.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1386, allocations: 138.1 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1386, allocations: 33.7 kB / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.1387, allocations: 88.12 kB / 421.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1387, allocations: 7.875 kB / 421.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1388, allocations: 17.67 kB / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1389, allocations: 322.8 kB / 422 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.139, allocations: 12 kB / 422 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.862e-05/0.139, allocations: 21.7 kB / 422 MB, free: 8.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.1391, allocations: 29.66 kB / 422 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1391, allocations: 3.984 kB / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.1393, allocations: 57.73 kB / 422.1 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1393, allocations: 4 kB / 422.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1393, allocations: 4 kB / 422.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1393, allocations: 0 / 422.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.1394, allocations: 4 kB / 422.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1394, allocations: 7.922 kB / 422.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.1394, allocations: 4 kB / 422.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1395, allocations: 0 / 422.1 MB, free: 7.977 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 0.0001095/0.1396, allocations: 113.8 kB / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.1396, allocations: 49.7 kB / 422.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.1397, allocations: 7.875 kB / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1397, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1397, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1397, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.1399, allocations: 173.6 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1399, allocations: 4 kB / 422.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.1399, allocations: 7.984 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1399, allocations: 3.938 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.14, allocations: 0 / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.14, allocations: 4.031 kB / 422.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.14, allocations: 7.938 kB / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1402, allocations: 156.3 kB / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.1402, allocations: 93.05 kB / 422.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1403, allocations: 7.984 kB / 422.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1403, allocations: 4.031 kB / 422.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1404, allocations: 0 / 422.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1404, allocations: 4 kB / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.1405, allocations: 109.5 kB / 422.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1405, allocations: 0 / 422.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1407, allocations: 4 kB / 422.9 MB, free: 7.137 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.0006507/0.1413, allocations: 0.7014 MB / 423.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1415, allocations: 19.98 kB / 423.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1415, allocations: 0 / 423.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.1415, allocations: 15.88 kB / 423.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1419, allocations: 16.33 kB / 423.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1436, allocations: 1.312 MB / 424.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.144, allocations: 0.6883 MB / 425.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.144, allocations: 8.016 kB / 425.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1441, allocations: 15.44 kB / 425.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1441, allocations: 0 / 425.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.1732, allocations: 1.537 MB / 427.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.637, allocations: 12.59 kB / 427.2 MB, free: 2.789 MB / 350.1 MB " [Timeout remaining time 651] (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 1.59331e-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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.338945206720382]